${function() {
const variantData = data.variant || {"id":"9483f792-f842-4d51-92ce-b07eeb5315ec","product_id":"92137614-fef3-4b4a-8967-e01cb907bfd2","title":"gray-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111067-gray-M","barcode":"","position":9,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/587419b9e596e7c2d2825632a0402ae8.jpeg","path":"587419b9e596e7c2d2825632a0402ae8.jpeg","width":800,"height":1000,"alt":"Retro Contrast Color Cotton Linen Dress","aspect_ratio":0.8},"wholesale_price":[{"price":42.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"52","price":"42.79","retail_price":"52","available":true,"url":"\/products\/retro-contrast-color-cotton-linen-dress?variant=9483f792-f842-4d51-92ce-b07eeb5315ec","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"M"}],"off_ratio":18,"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.