${function() {
const variantData = data.variant || {"id":"4abd0be1-86e4-48f5-afa3-ffba2e3e6cfc","product_id":"8dd59b52-32e4-47f6-97b5-50eabee242ef","title":"Apricot-M","weight_unit":"kg","inventory_quantity":998,"sku":"YP2404199149-Apricot-M","barcode":"","position":1,"option1":"Apricot","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71fbc4dc73ab281a55560d19345e1af6.png","path":"71fbc4dc73ab281a55560d19345e1af6.png","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.99","retail_price":"0","available":true,"url":"\/products\/mens-v-neck-luxury-ethnic-textured-print-shorts-set-180bc67ce02-29f5-45d4-9fa3-365f8d51418b?variant=4abd0be1-86e4-48f5-afa3-ffba2e3e6cfc","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.