${function() {
const variantData = data.variant || {"id":"e43fbf31-d108-4b07-a3e6-5530c8318927","product_id":"d1a30177-a3c3-49b0-9b60-e1f739a5e5e3","title":"Gold-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0073","barcode":"","position":1,"option1":"Gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5ff9064f00fe18680fbf4a5db50fca9.jpg","path":"e5ff9064f00fe18680fbf4a5db50fca9.jpg","width":666,"height":999,"alt":"Dresseswow Cap Sleeveless Mermaid Sequins Evening Gown Long With Split Ruffles YE0073","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"1","compare_at_price":"89.99","price":"89.99","retail_price":"89.99","available":true,"url":"\/products\/cap-sleeveless-mermaid-sequins-evening-gown-long-with-split-ruffles-ye0073?variant=e43fbf31-d108-4b07-a3e6-5530c8318927","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}
`
}()}