${function() {
const variantData = data.variant || {"id":"60df7a8c-e18d-4853-aaef-17df8e8b3dfc","product_id":"d585fd12-637c-4b67-8d49-53871e9f6fb1","title":"Same as Picture-2","weight_unit":"kg","inventory_quantity":0,"sku":"HT0082","barcode":"","position":1,"option1":"Same as Picture","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edd5ba29d3cbbe7e935599b143b4ba5b.jpg","path":"edd5ba29d3cbbe7e935599b143b4ba5b.jpg","width":532,"height":798,"alt":"Dresseswow Cap Sleeves Flower Girl Dress Ball Gown Princess With Lace Appliques","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"79.99","retail_price":"79.99","available":true,"url":"\/products\/cap-sleeves-flower-girl-dress-ball-gown-princess-with-lace-appliques?variant=60df7a8c-e18d-4853-aaef-17df8e8b3dfc","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}
`
}()}