50PCS travel Wet Wipes magic compressed towel beauty cleaning wash face towel mini disposable towels #1129
${function() {
const variantData = data.variant || {"id":"b9a8505b-522b-4e78-b210-d2b2abc8b373","product_id":"1f7da227-be5e-4255-a4b3-d70bb595171d","title":"","weight_unit":"g","inventory_quantity":10066,"sku":"63062321-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"24","price":"19.99","retail_price":"24","available":true,"url":"\/products\/50pcs-travel-wet-wipes-magic-compressed-towel-beauty-cleaning-wash-face-towel-mini-disposable-towels-1129?variant=b9a8505b-522b-4e78-b210-d2b2abc8b373","available_quantity":999999999,"options":[],"off_ratio":17,"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":"b9a8505b-522b-4e78-b210-d2b2abc8b373","product_id":"1f7da227-be5e-4255-a4b3-d70bb595171d","title":"","weight_unit":"g","inventory_quantity":10066,"sku":"63062321-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"24","price":"19.99","retail_price":"24","available":true,"url":"\/products\/50pcs-travel-wet-wipes-magic-compressed-towel-beauty-cleaning-wash-face-towel-mini-disposable-towels-1129?variant=b9a8505b-522b-4e78-b210-d2b2abc8b373","available_quantity":999999999,"options":[],"off_ratio":17,"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}
`;
}()}