${function() {
const variantData = data.variant || {"id":"f5bd58f1-dab3-4859-8e86-8e41ac16bd99","product_id":"da05493c-d1f4-44a5-8e2b-6a3cfaf1e2e8","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--blue-S-A0022684","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb7c1bbe703a2edd1c338e3ece96b1a9.jpg","path":"cb7c1bbe703a2edd1c338e3ece96b1a9.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"35.99","retail_price":"55.99","available":true,"url":"\/products\/mothers-day-leopard-mama-sweatshirt-cn4e?variant=f5bd58f1-dab3-4859-8e86-8e41ac16bd99","available_quantity":1000,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
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":"f5bd58f1-dab3-4859-8e86-8e41ac16bd99","product_id":"da05493c-d1f4-44a5-8e2b-6a3cfaf1e2e8","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--blue-S-A0022684","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb7c1bbe703a2edd1c338e3ece96b1a9.jpg","path":"cb7c1bbe703a2edd1c338e3ece96b1a9.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"35.99","retail_price":"55.99","available":true,"url":"\/products\/mothers-day-leopard-mama-sweatshirt-cn4e?variant=f5bd58f1-dab3-4859-8e86-8e41ac16bd99","available_quantity":1000,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
return `
`
}()}