${function() {
const variantData = data.variant || {"id":"dc2f1c03-e2f7-4dba-b8a3-3c8393343cf4","product_id":"388f1438-87b9-4b96-92f8-33feb4ccc9fe","title":"Dusty Sage-US2","weight_unit":"kg","inventory_quantity":0,"sku":"ST002","barcode":"","position":1,"option1":"Dusty Sage","option2":"US2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ce69d0b6cd656cd9578ae046d0f22af.jpg","path":"7ce69d0b6cd656cd9578ae046d0f22af.jpg","width":720,"height":1080,"alt":"Dresseswow Ruffles Mermaid Long Evening Dress With Crystals","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":389.99,"min_quantity":1}],"weight":"0","compare_at_price":"389.99","price":"389.99","retail_price":"389.99","available":true,"url":"\/products\/ruffles-mermaid-long-evening-dress-with-crystals?variant=dc2f1c03-e2f7-4dba-b8a3-3c8393343cf4","available_quantity":999999999,"options":[{"name":"Color","value":"Dusty Sage"},{"name":"Size","value":"US2"}],"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}
`
}()}