${function() {
const variantData = data.variant || {"id":"27c608bf-aaa3-4b4d-8516-9f53f8866bac","product_id":"4126272b-6d17-4ee3-81fa-473a11f0cabe","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141625-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/698353a1ca353352b8e6c028842181a0.jpeg","path":"698353a1ca353352b8e6c028842181a0.jpeg","width":1500,"height":1500,"alt":"Lapel Striped Vintage Vest","aspect_ratio":1},"wholesale_price":[{"price":52.25,"min_quantity":1}],"weight":"0.28","compare_at_price":"96.76","price":"52.25","retail_price":"96.76","available":true,"url":"\/products\/lapel-striped-vintage-vest?variant=27c608bf-aaa3-4b4d-8516-9f53f8866bac","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":46,"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.