${function() {
const variantData = data.variant || {"id":"8956adef-de51-4310-81f5-220d9f8532a8","product_id":"1fe18ed6-53a1-4870-8d3a-8991aced2c6e","title":"Short Sleeve-S","weight_unit":"kg","inventory_quantity":997,"sku":"086-230511-16-WT0041G3MC-Short Sleeve-S","barcode":"","position":1,"option1":"Short Sleeve","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17e9bb2df4e4358774407a474487e5d4.jpeg","path":"17e9bb2df4e4358774407a474487e5d4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/womens-rainbow-plaid-printed-casual-shirt?variant=8956adef-de51-4310-81f5-220d9f8532a8","available_quantity":999999999,"options":[{"name":"Color","value":"Short Sleeve"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":148};
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.