${function() {
const variantData = data.variant || {"id":"c53e0a6b-89b8-4d57-b524-0a5f39485d9f","product_id":"8a16c9ff-a896-4b7f-b946-7d28c5c81fd9","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0018","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3f3eb2152e7cd1e757133278dd3216f.jpg","path":"a3f3eb2152e7cd1e757133278dd3216f.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=c53e0a6b-89b8-4d57-b524-0a5f39485d9f","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"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}
`
}()}