${function() {
const variantData = data.variant || {"id":"03478ebc-2c39-4d63-8d32-85ce302a040e","product_id":"d459ac4e-1ef1-4333-a469-b106eafb295c","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-03-HAVA3N6WS4-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84e700f639fdf2f02b5c61fd0f1468c3.jpeg","path":"84e700f639fdf2f02b5c61fd0f1468c3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"300","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-cotton-linen-shirts-short-sleeves-casual-summer-beach-t-shirts?variant=03478ebc-2c39-4d63-8d32-85ce302a040e","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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.