${function() {
const variantData = data.variant || {"id":"a1e38589-8212-4a82-b681-3bf27539140b","product_id":"ab517b92-d1e9-4a47-a552-f286700b40fb","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230427394-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3822438d1f057ebddce408d3c3100ed4.jpeg","path":"3822438d1f057ebddce408d3c3100ed4.jpeg","width":800,"height":800,"alt":"Round Neck Short Sleeves Mid-length Dress","aspect_ratio":1},"wholesale_price":[{"price":35.21,"min_quantity":1}],"weight":"0.3","compare_at_price":"46","price":"35.21","retail_price":"46","available":true,"url":"\/products\/round-neck-short-sleeves-mid-length-dress?variant=a1e38589-8212-4a82-b681-3bf27539140b","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":23,"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.