${function() {
const variantData = data.variant || {"id":"5e1d5904-3284-48ef-a900-4323631139f4","product_id":"c509f0f7-d67f-4966-ad8c-7bdbd146a82e","title":"Claret-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210830-903-Claret-S","barcode":"","position":1,"option1":"Claret","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3c2f5d31ab932755c569d43fc223fe4.jpeg","path":"d3c2f5d31ab932755c569d43fc223fe4.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.99","retail_price":"0","available":true,"url":"\/products\/medium-long-sleeve-chiffon-dress-round-neck-stitching-lace-dress-evening-dress?variant=5e1d5904-3284-48ef-a900-4323631139f4","available_quantity":999999999,"options":[{"name":"Colour","value":"Claret"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
Product was out of stock.
Product is unavailable.