${function() {
const variantData = data.variant || {"id":"435ae739-acfc-40a6-8b9e-e59804f132c9","product_id":"bd1d11b8-17d0-41cb-91de-0d823cbecc19","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS260148-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a6175466011766ab935f8a391d5793f.jpeg","path":"0a6175466011766ab935f8a391d5793f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"28.99","retail_price":"45.99","available":true,"url":"\/products\/womens-lahaina-maui-strong-sweatshirt?variant=435ae739-acfc-40a6-8b9e-e59804f132c9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":3};
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.