${function() {
const variantData = data.variant || {"id":"450b4cbd-09bb-4eca-a560-6e2401852fd4","product_id":"48eadd88-3a2e-423d-b034-c1a98140479d","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":11,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da02949d974f1a856713e004caea5812.jpg","path":"da02949d974f1a856713e004caea5812.jpg","width":600,"height":900,"alt":"Dresseswow Off-the-Shoulder Long Evening Dress Zipper Back","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"69.99","retail_price":"69.99","available":true,"url":"\/products\/off-the-shoulder-long-evening-dress-zipper-back?variant=450b4cbd-09bb-4eca-a560-6e2401852fd4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}