${function() {
const variantData = data.variant || {"id":"86babb30-cb2a-45ca-92df-86695642e29e","product_id":"a6c4a9ba-0104-4240-a461-cc00c2120508","title":"Black-M","weight_unit":"kg","inventory_quantity":995,"sku":"13908684-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0348659c2f53ff19c6e817b545a6cd90.jpeg","path":"0348659c2f53ff19c6e817b545a6cd90.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.38,"min_quantity":1}],"weight":"0","compare_at_price":"25.38","price":"25.38","retail_price":"25.38","available":true,"url":"\/products\/casual-art-collection-gradient-striped-geometric-pattern-lapel-short-sleeve-polo-print-top-13908684?variant=86babb30-cb2a-45ca-92df-86695642e29e","available_quantity":995,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"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.