${function() {
const variantData = data.variant || {"id":"fec729c8-65e2-4685-9f13-5344acc08699","product_id":"ee58a426-8904-40df-81f6-668507a22f44","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023376","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec68a2e00e6634bf9f234992582debd4.jpg","path":"ec68a2e00e6634bf9f234992582debd4.jpg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"21.99","retail_price":"37.99","available":true,"url":"\/products\/blessed-mama-t-shirt?variant=fec729c8-65e2-4685-9f13-5344acc08699","available_quantity":1000,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":42,"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":"fec729c8-65e2-4685-9f13-5344acc08699","product_id":"ee58a426-8904-40df-81f6-668507a22f44","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023376","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec68a2e00e6634bf9f234992582debd4.jpg","path":"ec68a2e00e6634bf9f234992582debd4.jpg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"21.99","retail_price":"37.99","available":true,"url":"\/products\/blessed-mama-t-shirt?variant=fec729c8-65e2-4685-9f13-5344acc08699","available_quantity":1000,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
`
}()}