${function() {
const variantData = data.variant || {"id":"10b3d3e1-fb3f-4527-98cc-dfb9aded4e8a","product_id":"22c03e27-857c-42c6-b6d9-58d1a0706a2f","title":"Khaki-S","weight_unit":"g","inventory_quantity":1000,"sku":"X131-230810-10-KAUMHC3X5F-Khaki-S","barcode":"","position":7,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b7b23d15158bd231996926c83a13ba3.jpeg","path":"6b7b23d15158bd231996926c83a13ba3.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=10b3d3e1-fb3f-4527-98cc-dfb9aded4e8a","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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.