${function() {
const variantData = data.variant || {"id":"f55fef21-cc95-46c6-916c-96d274d81da2","product_id":"e552a257-0f8d-49dc-82f1-716c95d24e16","title":"Gold-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0017","barcode":"","position":1,"option1":"Gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33432723dfa584885756adc8dee65204.jpg","path":"33432723dfa584885756adc8dee65204.jpg","width":1000,"height":1500,"alt":"Dresseswow Mermaid Sequins Evening Dress One Shoulder Long With Tulle","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-sequins-evening-dress-one-shoulder-long-with-tulle?variant=f55fef21-cc95-46c6-916c-96d274d81da2","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"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}
`
}()}