${function() {
const variantData = data.variant || {"id":"6991275e-ea3c-488b-b7db-19d6085e544b","product_id":"c2a41463-40ac-4492-8ad3-f432e62b1fcc","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"WSS262943-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1c96b121e8c1cda778bba40a4a1d5d1.jpeg","path":"b1c96b121e8c1cda778bba40a4a1d5d1.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=6991275e-ea3c-488b-b7db-19d6085e544b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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.