${function() {
const variantData = data.variant || {"id":"5c03286f-32da-43f4-8551-a9e3f9094c57","product_id":"c66ed0da-16d1-4ef2-a775-a7a48593cf8a","title":"brown-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011103-brown-s","barcode":"","position":10,"option1":"brown","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2fad681c9caa285b329dce3efdddc8a2.jpeg","path":"2fad681c9caa285b329dce3efdddc8a2.jpeg","width":800,"height":800,"alt":"Women's Fashion V Neck Belt High Waist Short Sleeves Cotton- Linen Dress","aspect_ratio":1},"wholesale_price":[{"price":38.41,"min_quantity":1}],"weight":"0","compare_at_price":"66","price":"38.41","retail_price":"66","available":true,"url":"\/products\/womens-fashion-v-neck-belt-high-waist-short-sleeves-cotton-linen-dress-h35r?variant=5c03286f-32da-43f4-8551-a9e3f9094c57","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"s"}],"off_ratio":42,"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.