${function() {
const variantData = data.variant || {"id":"b2de118e-535f-4b6b-9ab0-0dd10bcb1074","product_id":"d459ac4e-1ef1-4333-a469-b106eafb295c","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-03-HAVA3N6WS4-black-S","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3287b038dcf3a16b98797467be641e0b.jpeg","path":"3287b038dcf3a16b98797467be641e0b.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=b2de118e-535f-4b6b-9ab0-0dd10bcb1074","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.