${function() {
const variantData = data.variant || {"id":"6348ca0f-3078-4672-a4d0-8334d7b22ffe","product_id":"88c0a316-247e-4e1a-95aa-f00ce784bba7","title":"Ivory-2","weight_unit":"kg","inventory_quantity":0,"sku":"HT0069","barcode":"","position":1,"option1":"Ivory","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c42e726bf64053d0c84af20d3075e3d.jpg","path":"5c42e726bf64053d0c84af20d3075e3d.jpg","width":532,"height":798,"alt":"Dresseswow Long Sleeves Lace Little Girl Dress Princess V-Neck On Sale","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":65.99,"min_quantity":1}],"weight":"1","compare_at_price":"65.99","price":"65.99","retail_price":"65.99","available":true,"url":"\/products\/long-sleeves-lace-little-girl-dress-princess-v-neck-on-sale?variant=6348ca0f-3078-4672-a4d0-8334d7b22ffe","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"},{"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}
`
}()}