${function() {
const variantData = data.variant || {"id":"4f031487-9115-4e71-ac6b-9e38e0cdd73b","product_id":"5c2db88a-6837-493d-8a2f-cf60159cedb7","title":"Pink-M","weight_unit":"kg","inventory_quantity":908,"sku":"13344558-Pink-M","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b08cbc0a2d14078e7b4801100e9bcf5.jpeg","path":"4b08cbc0a2d14078e7b4801100e9bcf5.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.4,"min_quantity":1}],"weight":"0","compare_at_price":"26.53","price":"24.4","retail_price":"26.53","available":true,"url":"\/products\/products-name-men-s-printed-casual-breathable-short-sleeve-hawaiian-shirt-13344558-variant-793732?variant=4f031487-9115-4e71-ac6b-9e38e0cdd73b","available_quantity":908,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M"}],"off_ratio":8,"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.