${function() {
const variantData = data.variant || {"id":"d49f11b7-d4d7-4c90-81f7-ccd82ade978c","product_id":"3faf009c-67b1-4ee6-843c-6605ff2da9c7","title":"Same as Picture-2","weight_unit":"kg","inventory_quantity":500,"sku":"TZ1022","barcode":"","position":1,"option1":"Same as Picture","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fd08168fc4d31148c9dc245bfcedc77.jpeg","path":"6fd08168fc4d31148c9dc245bfcedc77.jpeg","width":534,"height":800,"alt":"Dresseswow Jewel Illussion Neck Sleeveless Flower Girl Dress with Tulle lace","aspect_ratio":0.6675},"wholesale_price":[{"price":96,"min_quantity":1}],"weight":"1","compare_at_price":"96","price":"96","retail_price":"96","available":true,"url":"\/products\/jewel-illussion-neck-sleeveless-flower-girl-dress-with-tulle-lace?variant=d49f11b7-d4d7-4c90-81f7-ccd82ade978c","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}
`
}()}