${function() {
const variantData = data.variant || {"id":"9f969440-6913-48f5-b1e6-c1c9200c1310","product_id":"04e43035-7b07-4338-96aa-c47d30d5882f","title":"Yellow-6.5","weight_unit":"kg","inventory_quantity":50,"sku":"D22121106-Yellow-38","barcode":"","position":1,"option1":"Yellow","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22385539b854c377bd3621cc8b9834c8.jpeg","path":"22385539b854c377bd3621cc8b9834c8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-leather-lace-up-dress-shoes?variant=9f969440-6913-48f5-b1e6-c1c9200c1310","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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 variantData = data.variant || {"id":"9f969440-6913-48f5-b1e6-c1c9200c1310","product_id":"04e43035-7b07-4338-96aa-c47d30d5882f","title":"Yellow-6.5","weight_unit":"kg","inventory_quantity":50,"sku":"D22121106-Yellow-38","barcode":"","position":1,"option1":"Yellow","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22385539b854c377bd3621cc8b9834c8.jpeg","path":"22385539b854c377bd3621cc8b9834c8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-leather-lace-up-dress-shoes?variant=9f969440-6913-48f5-b1e6-c1c9200c1310","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":2};
return `
`
}()}