${function() {
const variantData = data.variant || {"id":"56b7a51d-b107-403f-b5d0-4afc03edfaca","product_id":"5169c404-06de-4885-bebe-00f620e4580f","title":"wine red-S","weight_unit":"kg","inventory_quantity":0,"sku":"662302154338-wine red-S","barcode":"","position":9,"option1":"wine red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6eb6133e9457377af83b8b2086909d23.jpeg","path":"6eb6133e9457377af83b8b2086909d23.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=56b7a51d-b107-403f-b5d0-4afc03edfaca","available_quantity":999999999,"options":[{"name":"color","value":"wine red"},{"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.