${function() {
const variantData = data.variant || {"id":"0cfea56b-df9b-4a22-b043-fce9317e3aa5","product_id":"91076fe6-eaa1-4be7-aa6f-f73b002e9570","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230315783-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","path":"6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","width":666,"height":792,"alt":"Exotic Floral Printed Wrap Dress","aspect_ratio":0.8409090909090909},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"0.25","compare_at_price":"48","price":"39.89","retail_price":"48","available":true,"url":"\/products\/exotic-floral-printed-wrap-dress?variant=0cfea56b-df9b-4a22-b043-fce9317e3aa5","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":17,"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.