${function() {
const variantData = data.variant || {"id":"c50d1582-52f4-4ffe-9c3a-251b121f91f8","product_id":"7dd39f9a-3edf-4004-91ab-c87da7cc9bba","title":"Green Bells-One-Size","weight_unit":"kg","inventory_quantity":998,"sku":"SQ9SWNBAZR-Green Bells-One-Size","barcode":"","position":3,"option1":"Green Bells","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a01c531b10e120b2b4b59a94b753086e.jpeg","path":"a01c531b10e120b2b4b59a94b753086e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"1.99","price":"1.99","retail_price":"1.99","available":true,"url":"\/products\/cute-cozy-soft-christmas-socks?variant=c50d1582-52f4-4ffe-9c3a-251b121f91f8","available_quantity":999999999,"options":[{"name":"Color","value":"Green Bells"},{"name":"Size","value":"One-Size"}],"off_ratio":0,"flashsale_info":[],"sales":18};
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.