${function() {
const variantData = data.variant || {"id":"d30de368-8676-4acf-a0d7-bda566cb843f","product_id":"7b193c82-0a13-4ad0-8af4-6ad7ca5f5796","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--green-S-A0022547","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebacc736df9c438902d92d962a7e47d7.jpg","path":"ebacc736df9c438902d92d962a7e47d7.jpg","width":674,"height":674,"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\/mothers-day-leopard-auntie-sweatshirt?variant=d30de368-8676-4acf-a0d7-bda566cb843f","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"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":"d30de368-8676-4acf-a0d7-bda566cb843f","product_id":"7b193c82-0a13-4ad0-8af4-6ad7ca5f5796","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--green-S-A0022547","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebacc736df9c438902d92d962a7e47d7.jpg","path":"ebacc736df9c438902d92d962a7e47d7.jpg","width":674,"height":674,"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\/mothers-day-leopard-auntie-sweatshirt?variant=d30de368-8676-4acf-a0d7-bda566cb843f","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
return `
`
}()}