${function() {
const variantData = data.variant || {"id":"a907133a-3d36-490c-af02-9fcb94c13901","product_id":"dddf2419-0077-48f9-ba25-348b4c0f58df","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-10-WWFNG892TB-White-M","barcode":"","position":6,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f68069f3f87451d9ccc86848236396f0.jpeg","path":"f68069f3f87451d9ccc86848236396f0.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\/mens-solid-color-cotton-casual-retro-slim-shirt-cotton-and-linen-long-sleeved-shirt?variant=a907133a-3d36-490c-af02-9fcb94c13901","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.