${function() {
const variantData = data.variant || {"id":"e7b7a3b6-c0aa-43db-9477-8065db5a303e","product_id":"467f3a50-0d5e-401f-9c6a-3594d63c8fd9","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0040","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/705a49e6c73d718994f4a69781a2840e.jpg","path":"705a49e6c73d718994f4a69781a2840e.jpg","width":1000,"height":1500,"alt":"Dresseswow Sleeveless Sequins Mermaid Evening Dress Long V-Neck On Sale","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":82.99,"min_quantity":1}],"weight":"1","compare_at_price":"82.99","price":"82.99","retail_price":"82.99","available":true,"url":"\/products\/sleeveless-sequins-mermaid-evening-dress-long-v-neck-on-sale?variant=e7b7a3b6-c0aa-43db-9477-8065db5a303e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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}
`
}()}