${function() {
const variantData = data.variant || {"id":"c7cc3bc0-b6c8-4a6f-96bc-82eb00baa721","product_id":"22c03e27-857c-42c6-b6d9-58d1a0706a2f","title":"Brown-S","weight_unit":"g","inventory_quantity":1000,"sku":"X131-230810-10-KAUMHC3X5F-Brown-S","barcode":"","position":13,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a2a7dfb28eabadeba1dcbc2187b1341.jpeg","path":"4a2a7dfb28eabadeba1dcbc2187b1341.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"500","compare_at_price":"47.99","price":"47.99","retail_price":"47.99","available":true,"url":"\/products\/mens-woolen-fashion-casual-long-trench-coat?variant=c7cc3bc0-b6c8-4a6f-96bc-82eb00baa721","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
const saveType = "amount";
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.