${function() {
const variantData = data.variant || {"id":"85aaa4ea-8d3d-4d68-a0ad-f267cb6aa0e6","product_id":"a45f9755-98c6-4bd2-af51-2a91b3a17bd6","title":"navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--navy-S-A0022917","barcode":"","position":1,"option1":"navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d620486b7dd2fb443b7936e25bc0c01.jpg","path":"6d620486b7dd2fb443b7936e25bc0c01.jpg","width":635,"height":635,"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\/good-moms-say-bad-words-shirt?variant=85aaa4ea-8d3d-4d68-a0ad-f267cb6aa0e6","available_quantity":1000,"options":[{"name":"color","value":"navy"},{"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":"85aaa4ea-8d3d-4d68-a0ad-f267cb6aa0e6","product_id":"a45f9755-98c6-4bd2-af51-2a91b3a17bd6","title":"navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--navy-S-A0022917","barcode":"","position":1,"option1":"navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d620486b7dd2fb443b7936e25bc0c01.jpg","path":"6d620486b7dd2fb443b7936e25bc0c01.jpg","width":635,"height":635,"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\/good-moms-say-bad-words-shirt?variant=85aaa4ea-8d3d-4d68-a0ad-f267cb6aa0e6","available_quantity":1000,"options":[{"name":"color","value":"navy"},{"name":"size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
`
}()}