${function() {
const variantData = data.variant || {"id":"4ddee801-b252-4f42-9d33-591e3c1c416a","product_id":"7430e4bd-09b9-4a7f-890b-c6bbe14d4d8e","title":"Ginger-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin220325435-Ginger-2XL","barcode":"","position":1,"option1":"Ginger","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a23a7cbf1f60b229859a897fbbfa166.png","path":"1a23a7cbf1f60b229859a897fbbfa166.png","width":2000,"height":2500,"alt":"Casual Cozy Linen Wrap Jumpsuit","aspect_ratio":0.8},"wholesale_price":[{"price":38.65,"min_quantity":1}],"weight":"0","compare_at_price":"43.43","price":"38.65","retail_price":"43.43","available":true,"url":"\/products\/casual-cozy-linen-wrap-jumpsuit-0oe9?variant=4ddee801-b252-4f42-9d33-591e3c1c416a","available_quantity":999999999,"options":[{"name":"Color","value":"Ginger"},{"name":"Size","value":"2XL"}],"off_ratio":11,"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.