${function() {
const variantData = data.variant || {"id":"2eadac93-97c6-4b29-a7f1-608ef9ebf767","product_id":"b41f3399-69a4-47dc-baff-31c1c44d866a","title":"Light Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS262318-LBL00S","barcode":"","position":1,"option1":"Light Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54db24a03c392dae4021ef85d7c5804f.jpeg","path":"54db24a03c392dae4021ef85d7c5804f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"24.99","retail_price":"45.98","available":true,"url":"\/products\/womens-hawaiian-shaka-gesture-hibiscus-print-sweatshirt?variant=2eadac93-97c6-4b29-a7f1-608ef9ebf767","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"S"}],"off_ratio":46,"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.