${function() {
const variantData = data.variant || {"id":"dd74f2c5-5b97-4ab4-9031-2551e85f0bdc","product_id":"17d5a580-ed94-4de0-b251-524d1ca073af","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210964063524-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e3e4138dc1fb7704bdc544f2c811512.jpeg","path":"1e3e4138dc1fb7704bdc544f2c811512.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=dd74f2c5-5b97-4ab4-9031-2551e85f0bdc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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.