${function() {
const variantData = data.variant || {"id":"7bf117fe-9b05-44a5-8dcc-b9d11f0c9a90","product_id":"0cd5a070-91a0-46a8-9c1b-bba3e6302086","title":"Khaki-M","weight_unit":"g","inventory_quantity":997,"sku":"X131-230718-03-EGACMZH83S-Khaki-M","barcode":"","position":11,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2289430c0deaa0a4ce51fe0f80ff6536.jpeg","path":"2289430c0deaa0a4ce51fe0f80ff6536.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"200","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/mens-pullover-sweater-v-neck-woolen-thin-bottoming-shirt?variant=7bf117fe-9b05-44a5-8dcc-b9d11f0c9a90","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":32};
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.