${function() {
const variantData = data.variant || {"id":"d3b7b1b2-a121-4d91-ac52-eb7abedfe31f","product_id":"c2a41463-40ac-4492-8ad3-f432e62b1fcc","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS262943-WHI00S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9442f0bd4a9af2980e92f9eee7be1d6e.jpeg","path":"9442f0bd4a9af2980e92f9eee7be1d6e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"25.99","retail_price":"44.99","available":true,"url":"\/products\/womens-hawaiian-christmas-warmestwishes-print-sweatshirt?variant=d3b7b1b2-a121-4d91-ac52-eb7abedfe31f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":7};
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.