${function() {
const variantData = data.variant || {"id":"4ce928aa-0012-4697-9f0f-2507ac263d5c","product_id":"5b331728-c153-43f2-af82-8293cc74db34","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023382","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69168b2587a91259b735125261d8ee8d.jpg","path":"69168b2587a91259b735125261d8ee8d.jpg","width":794,"height":794,"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\/cool-mom-sweatshirt?variant=4ce928aa-0012-4697-9f0f-2507ac263d5c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":39,"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":"4ce928aa-0012-4697-9f0f-2507ac263d5c","product_id":"5b331728-c153-43f2-af82-8293cc74db34","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023382","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69168b2587a91259b735125261d8ee8d.jpg","path":"69168b2587a91259b735125261d8ee8d.jpg","width":794,"height":794,"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\/cool-mom-sweatshirt?variant=4ce928aa-0012-4697-9f0f-2507ac263d5c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
`
}()}