${function() {
const variantData = data.variant || {"id":"ad18c62f-0206-4cab-853a-145577c6c2a2","product_id":"66a08051-0eeb-49d2-9616-cedb3df206f6","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH272963-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c71856b7aee615c493111e746aa1a1e.jpeg","path":"1c71856b7aee615c493111e746aa1a1e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"25.99","retail_price":"50","available":true,"url":"\/products\/womens-winter-cat-print-casual-sweatshirt?variant=ad18c62f-0206-4cab-853a-145577c6c2a2","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":48,"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.