${function() {
const variantData = data.variant || {"id":"73473c27-3d58-4fe3-9c9b-0077793f0c6d","product_id":"8a16c9ff-a896-4b7f-b946-7d28c5c81fd9","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":11,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5f67db9f7c52333d6e5bb8215d27515.jpg","path":"d5f67db9f7c52333d6e5bb8215d27515.jpg","width":1000,"height":1500,"alt":"Dresseswow Mermaid One Shoulder Evening Dress Long With Beads","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":78.99,"min_quantity":1}],"weight":"0","compare_at_price":"78.99","price":"78.99","retail_price":"78.99","available":true,"url":"\/products\/mermaid-one-shoulder-evening-dress-long-with-beads?variant=73473c27-3d58-4fe3-9c9b-0077793f0c6d","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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}
`
}()}