${function() {
const variantData = data.variant || {"id":"346de542-1a35-4662-82ba-f92c2599465b","product_id":"3de3588a-fafd-4f61-988f-3dcdea1da004","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303231515-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d33ea6f5610d876e1980b1dcaa7203e8.jpeg","path":"d33ea6f5610d876e1980b1dcaa7203e8.jpeg","width":800,"height":900,"alt":"Nature Linen Loose Shirt Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/nature-linen-loose-shirt-dress-2ox6?variant=346de542-1a35-4662-82ba-f92c2599465b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":27,"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.