${function() {
const variantData = data.variant || {"id":"bce02fc9-1061-4779-9a5b-0ed11a04a0e4","product_id":"339ed98c-a260-43ff-a9ef-608e294561f9","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-08-9GTKXJ5WK4-Khaki-S","barcode":"","position":7,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5301c11f00f2fb35539d8f690aa4cc65.jpeg","path":"5301c11f00f2fb35539d8f690aa4cc65.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/solid-mens-casual-loose-long-sleeve-shirt?variant=bce02fc9-1061-4779-9a5b-0ed11a04a0e4","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.