PURC 300ml Keratin Hair Treatment Purifying Shampoo Sets Make Hair Straightening Shinning Hair Scalp Treatment
${function() {
const variantData = data.variant || {"id":"500f4af2-9403-44fb-bde0-e44137de9a6e","product_id":"50aa75a7-9fbe-40a6-b6be-5f93aef2d0ee","title":"China","weight_unit":"g","inventory_quantity":2470,"sku":"26068951-china","barcode":"","position":1,"option1":"China","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":48.58,"min_quantity":1}],"weight":"0","compare_at_price":"96.99","price":"48.58","retail_price":"96.99","available":true,"url":"\/products\/purc-300ml-keratin-hair-treatment-purifying-shampoo-sets-make-hair-straightening-shinning-hair-scalp-treatment?variant=500f4af2-9403-44fb-bde0-e44137de9a6e","available_quantity":999999999,"options":[{"name":"Ships From","value":"China"}],"off_ratio":50,"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":"500f4af2-9403-44fb-bde0-e44137de9a6e","product_id":"50aa75a7-9fbe-40a6-b6be-5f93aef2d0ee","title":"China","weight_unit":"g","inventory_quantity":2470,"sku":"26068951-china","barcode":"","position":1,"option1":"China","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":48.58,"min_quantity":1}],"weight":"0","compare_at_price":"96.99","price":"48.58","retail_price":"96.99","available":true,"url":"\/products\/purc-300ml-keratin-hair-treatment-purifying-shampoo-sets-make-hair-straightening-shinning-hair-scalp-treatment?variant=500f4af2-9403-44fb-bde0-e44137de9a6e","available_quantity":999999999,"options":[{"name":"Ships From","value":"China"}],"off_ratio":50,"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}
`;
}()}