Automatic Hair Braider Electric Hair Braider Automatic Twist Braider Knitting Machine DIY Twister Styler Hair Styling Tool
${function() {
const variantData = data.variant || {"id":"a8cec8ee-1b79-43ef-b5d3-c316e88cbc9a","product_id":"5d78bb07-b660-4f40-9c05-4e1570be6226","title":"China","weight_unit":"g","inventory_quantity":67,"sku":"56526616-china","barcode":"","position":1,"option1":"China","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"24","price":"20.99","retail_price":"24","available":true,"url":"\/products\/automatic-hair-braider-electric-hair-braider-automatic-twist-braider-knitting-machine-diy-twister-styler-hair-styling-tool?variant=a8cec8ee-1b79-43ef-b5d3-c316e88cbc9a","available_quantity":999999999,"options":[{"name":"Ships From","value":"China"}],"off_ratio":13,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a8cec8ee-1b79-43ef-b5d3-c316e88cbc9a","product_id":"5d78bb07-b660-4f40-9c05-4e1570be6226","title":"China","weight_unit":"g","inventory_quantity":67,"sku":"56526616-china","barcode":"","position":1,"option1":"China","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"24","price":"20.99","retail_price":"24","available":true,"url":"\/products\/automatic-hair-braider-electric-hair-braider-automatic-twist-braider-knitting-machine-diy-twister-styler-hair-styling-tool?variant=a8cec8ee-1b79-43ef-b5d3-c316e88cbc9a","available_quantity":999999999,"options":[{"name":"Ships From","value":"China"}],"off_ratio":13,"flashsale_info":[],"sales":0};
return `
`
}()}
15 Days Return,100%Money Back
7*24h Service at:support@Beyprern.com
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}