${function() {
const variantData = data.variant || {"id":"11e5c3d1-55fb-484b-a24e-152f7885b90f","product_id":"1aa0a20d-bdfb-40e9-80b4-42672a58f567","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS257925-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e651d8837b2adb671893eaf0e81b63f0.jpeg","path":"e651d8837b2adb671893eaf0e81b63f0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.23","price":"24.99","retail_price":"47.23","available":true,"url":"\/products\/womens-lahaina-strong-sweatshirt-5?variant=11e5c3d1-55fb-484b-a24e-152f7885b90f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":47,"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.