${function() {
const variantData = data.variant || {"id":"58ad6232-c7db-46fb-b543-116e3f1f4345","product_id":"50524f85-d587-4a5b-9f27-c890e20c5420","title":"Blue-M","weight_unit":"kg","inventory_quantity":996,"sku":"DH-SH4P8943D8C4","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e361637a61105ab36cabf0bc2f8ebe3d.jpeg","path":"e361637a61105ab36cabf0bc2f8ebe3d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.77,"min_quantity":1}],"weight":"0","compare_at_price":"24.77","price":"24.77","retail_price":"24.77","available":true,"url":"\/products\/mens-sea-turtle-print-lapel-casual-loose-short-sleeve-shirt?variant=58ad6232-c7db-46fb-b543-116e3f1f4345","available_quantity":996,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"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.