${function() {
const variantData = data.variant || {"id":"e49d16d3-6eaf-47f2-b2f6-cdbf5d746d6a","product_id":"7b53aa2b-fc9b-46aa-b79a-024148841090","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WVS256667-DGY00S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed449914ded6582dca6a2fbc5f563cd1.jpeg","path":"ed449914ded6582dca6a2fbc5f563cd1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"18.99","retail_price":"29.99","available":true,"url":"\/products\/womens-maui-strong-lounge-top?variant=e49d16d3-6eaf-47f2-b2f6-cdbf5d746d6a","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":37,"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.