${function() {
const variantData = data.variant || {"id":"43369b8a-5438-4dba-bb60-802153ae38bc","product_id":"5169c404-06de-4885-bebe-00f620e4580f","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662302154338-white-S","barcode":"","position":17,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ddacbd6c1fe7133d6474801a9c0e436.jpeg","path":"4ddacbd6c1fe7133d6474801a9c0e436.jpeg","width":800,"height":800,"alt":"Casual Lace V Neck Cotton Linen Dress","aspect_ratio":1},"wholesale_price":[{"price":33.28,"min_quantity":1}],"weight":"0.28","compare_at_price":"48","price":"33.28","retail_price":"48","available":true,"url":"\/products\/casual-lace-v-neck-cotton-linen-dress?variant=43369b8a-5438-4dba-bb60-802153ae38bc","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":31,"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.