${function() {
const variantData = data.variant || {"id":"f77c5762-0a58-4f8d-af00-3ca9ffa4c5e9","product_id":"e45f3381-d0b0-4a9e-b3a0-0d428f5e7fe0","title":"Coffee-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122506-Coffee-S","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4a1875487258c3726d3b314a0eccc90.png","path":"e4a1875487258c3726d3b314a0eccc90.png","width":600,"height":800,"alt":"Vintage Western Prints Long-Sleeved Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.62,"min_quantity":1}],"weight":"0.4","compare_at_price":"42","price":"26.62","retail_price":"42","available":true,"url":"\/products\/vintage-western-prints-long-sleeved-sweatshirt?variant=f77c5762-0a58-4f8d-af00-3ca9ffa4c5e9","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.