${function() {
const variantData = data.variant || {"id":"4dee4db9-ade2-4083-9763-dbfbea958fff","product_id":"38d6ac76-e9c6-4e03-95c4-4e512b2470e8","title":"Same as Picture-2","weight_unit":"kg","inventory_quantity":500,"sku":"TZ1078","barcode":"","position":1,"option1":"Same as Picture","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0004b4e66136eeb29b344160ed97e283.jpeg","path":"0004b4e66136eeb29b344160ed97e283.jpeg","width":1000,"height":1500,"alt":"Dresseswow Illusion Appliques Tulle A-line Flower Girl Dress with Appliques","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":60,"min_quantity":1}],"weight":"1","compare_at_price":"60","price":"60","retail_price":"60","available":true,"url":"\/products\/illusion-appliques-tulle-a-line-flower-girl-dress-with-appliques?variant=4dee4db9-ade2-4083-9763-dbfbea958fff","available_quantity":999999999,"options":[{"name":"Color","value":"Same as Picture"},{"name":"Size","value":"2"}],"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}
`
}()}