${function() {
const variantData = data.variant || {"id":"d37da79b-a2a2-4924-97f5-fa48081db69b","product_id":"37960c9f-75c7-4f3f-8ddf-b4a973bca1db","title":"pumpkin orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS257255-NGJ00S","barcode":"","position":1,"option1":"pumpkin orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66946eb308c42d023048fb1abc47d9ca.jpeg","path":"66946eb308c42d023048fb1abc47d9ca.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"25.99","retail_price":"44.99","available":true,"url":"\/products\/oh-look-what-a-glorious-morning-makes-me-sick-womens-casual-print-sweatshirt?variant=d37da79b-a2a2-4924-97f5-fa48081db69b","available_quantity":999999999,"options":[{"name":"Color","value":"pumpkin orange"},{"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.