${function() {
const variantData = data.variant || {"id":"a656b709-9201-4752-9705-abb2b5c9f393","product_id":"1fe18ed6-53a1-4870-8d3a-8991aced2c6e","title":"Long Sleeve-S","weight_unit":"kg","inventory_quantity":997,"sku":"086-230511-16-WT0041G3MC-Long Sleeve-S","barcode":"","position":7,"option1":"Long 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":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"33.99","retail_price":"33.99","available":true,"url":"\/products\/womens-rainbow-plaid-printed-casual-shirt?variant=a656b709-9201-4752-9705-abb2b5c9f393","available_quantity":999999999,"options":[{"name":"Color","value":"Long 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.