${function() {
const variantData = data.variant || {"id":"a1593485-6d8a-4c5f-9293-7f7892ad2bbe","product_id":"32355ead-e9ef-483a-a059-91ecbd215f6c","title":"pink-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66230508822-pink-one size","barcode":"","position":2,"option1":"pink","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/103d3c88b66b1c995d3230295104091f.jpeg","path":"103d3c88b66b1c995d3230295104091f.jpeg","width":800,"height":800,"alt":"Cotton Linen Vertical Stripe Tie Dress","aspect_ratio":1},"wholesale_price":[{"price":51.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"62","price":"51.79","retail_price":"62","available":true,"url":"\/products\/cotton-linen-vertical-stripe-tie-dress?variant=a1593485-6d8a-4c5f-9293-7f7892ad2bbe","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"one size"}],"off_ratio":16,"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.