${function() {
const variantData = data.variant || {"id":"9a9a3b88-2310-45d1-a935-f47c643e3b11","product_id":"350334bb-d855-4c57-a777-ae9415a2153e","title":"black-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111068-black-M","barcode":"","position":9,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25960bee6a3ae5df6e86e7c44ffa2588.jpeg","path":"25960bee6a3ae5df6e86e7c44ffa2588.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=9a9a3b88-2310-45d1-a935-f47c643e3b11","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.