${function() {
const variantData = data.variant || {"id":"f8bd8634-525b-48a9-be0d-c59eef43e9c7","product_id":"9f493da4-2263-4c23-b096-2e520c4730e2","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS259830-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/996993e0b15ed83e73f08e5f1217e108.jpeg","path":"996993e0b15ed83e73f08e5f1217e108.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"27.99","retail_price":"44.99","available":true,"url":"\/products\/womens-lahaina-strong-sweatshirt-13?variant=f8bd8634-525b-48a9-be0d-c59eef43e9c7","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":38,"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.