${function() {
const variantData = data.variant || {"id":"0db07f61-9bcd-4cd8-8b6c-ee7293c20212","product_id":"7e2a0ae5-40f6-4efc-a264-1173f2e31901","title":"white gray red-39 ","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"white gray red","option2":"39 ","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/01ffb2a9a02b0eab94c4c3a4e767d11c.jpeg","path":"01ffb2a9a02b0eab94c4c3a4e767d11c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"45","retail_price":"90","available":true,"url":"\/products\/high-end-sneakers-mens-sports-casual-trendy-trendy-shoes?variant=0db07f61-9bcd-4cd8-8b6c-ee7293c20212","available_quantity":999999999,"options":[{"name":"color","value":"white gray red"},{"name":"size","value":"39 "}],"off_ratio":50,"flashsale_info":[],"sales":997};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
people are viewing this right now
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${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 minDays = parseInt('2');
const maxDays = parseInt('3');
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 `
`;
}()}
30 day Money Back Guarantee