${function() {
const variantData = data.variant || {"id":"331b4a40-fe45-443a-b34f-a9ee081eb1de","product_id":"a08a65c7-138e-40dc-ab40-9f416102d043","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"128-231101-34-MT0077346H-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/feb3a1d2f59843f96ab1e7043e45523a.jpeg","path":"feb3a1d2f59843f96ab1e7043e45523a.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"36.99","price":"36.99","retail_price":"36.99","available":true,"url":"\/products\/christmas-gift-fox-art-print-knit-pullover-sweater?variant=331b4a40-fe45-443a-b34f-a9ee081eb1de","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.