${function() {
const variantData = data.variant || {"id":"4f1f5482-d04e-4305-ba18-63c08fbedcba","product_id":"51439ae8-700a-4f6a-9bce-4e4807561c8b","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273438-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/687a0434f7e38c2e6b704094952a8c8e.jpeg","path":"687a0434f7e38c2e6b704094952a8c8e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.44","price":"26.99","retail_price":"53.44","available":true,"url":"\/products\/womens-winter-fox-print-sweatshirt-2?variant=4f1f5482-d04e-4305-ba18-63c08fbedcba","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":49,"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.