${function() {
const variantData = data.variant || {"id":"0b71f9c7-6033-4172-8895-c1391fac6722","product_id":"85ad697e-2b45-4cec-9afd-63b9b113b050","title":"White-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SH3O929213C4","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1547220ea673cbdf2a5fbf091003d0b.jpeg","path":"d1547220ea673cbdf2a5fbf091003d0b.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"25.99","retail_price":"55","available":true,"url":"\/products\/mens-vintage-hawaiian-shirt-palm-tree-mens-cotton-plus-size-seersucker-top?variant=0b71f9c7-6033-4172-8895-c1391fac6722","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":53,"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.