${function() {
const variantData = data.variant || {"id":"ff110137-29ca-4a62-875b-668282848133","product_id":"d68c1916-6ca5-42a0-af10-62422784057b","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS258501-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/895c8ee666a06f88b474f4b575d4f3b0.jpeg","path":"895c8ee666a06f88b474f4b575d4f3b0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"25.99","retail_price":"40.99","available":true,"url":"\/products\/womens-lahaina-strong-sweatshirt-11?variant=ff110137-29ca-4a62-875b-668282848133","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":5};
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.