${function() {
const variantData = data.variant || {"id":"b6fe23dd-53e9-4552-81b8-87a0cc6b3be5","product_id":"17d5a580-ed94-4de0-b251-524d1ca073af","title":"khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210964063524-khaki-S","barcode":"","position":7,"option1":"khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/23c2e432d2c66b28922a260153b0aedb.jpeg","path":"23c2e432d2c66b28922a260153b0aedb.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"27.99","retail_price":"59.99","available":true,"url":"\/products\/mens-20-linen-shirt-short-sleeve-turndown-green-khaki-beige-shirt-daily-hwzc?variant=b6fe23dd-53e9-4552-81b8-87a0cc6b3be5","available_quantity":999999999,"options":[{"name":"Color","value":"khaki"},{"name":"Size","value":"S"}],"off_ratio":53,"flashsale_info":[],"sales":1};
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.