${function() {
const variantData = data.variant || {"id":"2d6500b9-df12-4b0a-9bf3-98be264c3583","product_id":"13e81fe2-34c1-4578-bbaa-3104e56c0e30","title":"Dark Khaki-M","weight_unit":"kg","inventory_quantity":1000,"sku":"211220-107-Dark Khaki-m","barcode":"","position":1,"option1":"Dark Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/10b53f8448c957943a718ee91769fe64.jpeg","path":"10b53f8448c957943a718ee91769fe64.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"55.99","retail_price":"0","available":true,"url":"\/products\/menssingle-breastedbottomingknittedcardigan?variant=2d6500b9-df12-4b0a-9bf3-98be264c3583","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"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.