${function() {
const variantData = data.variant || {"id":"bada714d-0b37-4afd-bb5f-cb387e4dfbd8","product_id":"350334bb-d855-4c57-a777-ae9415a2153e","title":"green-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111068-green-M","barcode":"","position":5,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56c318093488878bcd4dbb2c3b6f226e.jpeg","path":"56c318093488878bcd4dbb2c3b6f226e.jpeg","width":1000,"height":1000,"alt":"Vintage Cotton Linen Thin Three Quarter Sleeve Dress","aspect_ratio":1},"wholesale_price":[{"price":41.59,"min_quantity":1}],"weight":"0.3","compare_at_price":"50","price":"41.59","retail_price":"50","available":true,"url":"\/products\/vintage-cotton-linen-thin-three-quarter-sleeve-dress?variant=bada714d-0b37-4afd-bb5f-cb387e4dfbd8","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"M"}],"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.