${function() {
const variantData = data.variant || {"id":"14a14d10-4401-484a-81d3-2bf66b0fd414","product_id":"c596adc2-f202-4a1f-b0a1-d03605b770b2","title":"pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--pink-S-A0022920","barcode":"","position":13,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31114356819e828730d3f013d2464799.jpg","path":"31114356819e828730d3f013d2464799.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/homebody-letter-print-casual-sweatshirt?variant=14a14d10-4401-484a-81d3-2bf66b0fd414","available_quantity":1000,"options":[{"name":"color","value":"pink"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
const saveType = "amount";
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":"14a14d10-4401-484a-81d3-2bf66b0fd414","product_id":"c596adc2-f202-4a1f-b0a1-d03605b770b2","title":"pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--pink-S-A0022920","barcode":"","position":13,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31114356819e828730d3f013d2464799.jpg","path":"31114356819e828730d3f013d2464799.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/homebody-letter-print-casual-sweatshirt?variant=14a14d10-4401-484a-81d3-2bf66b0fd414","available_quantity":1000,"options":[{"name":"color","value":"pink"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
return `
`
}()}