${function() {
const variantData = data.variant || {"id":"4de065e7-12b3-4401-98ba-67f70b0985c3","product_id":"5724b098-9bc8-4f0c-bf5d-ce1881189c7a","title":"khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211171819-khaki-S","barcode":"","position":5,"option1":"khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65db11bea8895df1a2085fc44ad678f3.jpeg","path":"65db11bea8895df1a2085fc44ad678f3.jpeg","width":800,"height":789,"alt":"New Lace-Up Loose Mid-Length Double-faced Wool Cape Coat","aspect_ratio":1.0139416983523448},"wholesale_price":[{"price":62.79,"min_quantity":1}],"weight":"0.8","compare_at_price":"104.65","price":"62.79","retail_price":"104.65","available":true,"url":"\/products\/new-lace-up-loose-mid-length-double-faced-wool-cape-coat?variant=4de065e7-12b3-4401-98ba-67f70b0985c3","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"S"}],"off_ratio":40,"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.