${function() {
const variantData = data.variant || {"id":"18153fed-e1c1-478b-bac8-80b296571d8b","product_id":"3581118d-c271-4627-b3c0-596cc0e2342b","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"13074757-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5959f94e6feff1479aa026811618f608.jpeg","path":"5959f94e6feff1479aa026811618f608.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.04,"min_quantity":1}],"weight":"0","compare_at_price":"48.4","price":"29.04","retail_price":"48.4","available":true,"url":"\/products\/mens-tropical-leaves-print-casual-breathable-chest-pocket-short-sleeve-hawaiian-shirts?variant=18153fed-e1c1-478b-bac8-80b296571d8b","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":40,"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.