${function() {
const variantData = data.variant || {"id":"e3a3bb0b-d992-4207-91bf-e8fb63d92d3c","product_id":"4d167e16-e808-4d69-b289-8301e628c75e","title":"Serenity-L","weight_unit":"kg","inventory_quantity":0,"sku":"Lin2112161509-Serenity-L","barcode":"","position":1,"option1":"Serenity","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a02378cf26b793076f6cc6595ab5a68a.jpg","path":"a02378cf26b793076f6cc6595ab5a68a.jpg","width":600,"height":750,"alt":"Minimalism Sleeveless Linen Shirt Dress","aspect_ratio":0.8},"wholesale_price":[{"price":38.49,"min_quantity":1}],"weight":"0","compare_at_price":"66","price":"38.49","retail_price":"66","available":true,"url":"\/products\/minimalism-sleeveless-linen-shirt-dress-v4vz?variant=e3a3bb0b-d992-4207-91bf-e8fb63d92d3c","available_quantity":999999999,"options":[{"name":"Color","value":"Serenity"},{"name":"Size","value":"L"}],"off_ratio":42,"flashsale_info":[],"sales":1};
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.