PURC 300ml Keratin Hair Treatment 5% Formaldehyde Hair Straightening Smoothing Repair Frizz Hair Care Products
${function() {
const variantData = data.variant || {"id":"a187008d-6b1b-4ea5-a28a-5f5814522d53","product_id":"4e5f30d3-7cad-49d8-9f54-d2e9f4a3809f","title":"","weight_unit":"g","inventory_quantity":468,"sku":"98392561-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":65.58,"min_quantity":1}],"weight":"0","compare_at_price":"126.99","price":"65.58","retail_price":"126.99","available":true,"url":"\/products\/purc-300ml-keratin-hair-treatment-5-formaldehyde-hair-straightening-smoothing-repair-frizz-hair-care-products?variant=a187008d-6b1b-4ea5-a28a-5f5814522d53","available_quantity":999999999,"options":[],"off_ratio":48,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a187008d-6b1b-4ea5-a28a-5f5814522d53","product_id":"4e5f30d3-7cad-49d8-9f54-d2e9f4a3809f","title":"","weight_unit":"g","inventory_quantity":468,"sku":"98392561-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":65.58,"min_quantity":1}],"weight":"0","compare_at_price":"126.99","price":"65.58","retail_price":"126.99","available":true,"url":"\/products\/purc-300ml-keratin-hair-treatment-5-formaldehyde-hair-straightening-smoothing-repair-frizz-hair-care-products?variant=a187008d-6b1b-4ea5-a28a-5f5814522d53","available_quantity":999999999,"options":[],"off_ratio":48,"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}
`;
}()}