${function() {
const variantData = data.variant || {"id":"8fddbfc2-4a35-486c-89d5-3a405f0eb309","product_id":"f151f118-76f0-4b4d-8102-07d712db246e","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101744120001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e98aaac93fb132cd686d49278d016e6d.jpeg","path":"e98aaac93fb132cd686d49278d016e6d.jpeg","width":800,"height":800,"alt":"The Exorcist Printed Casual Men's Hoodie - ","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"514","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/the-exorcist-printed-casual-mens-hoodie?variant=8fddbfc2-4a35-486c-89d5-3a405f0eb309","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"8fddbfc2-4a35-486c-89d5-3a405f0eb309","product_id":"f151f118-76f0-4b4d-8102-07d712db246e","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101744120001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e98aaac93fb132cd686d49278d016e6d.jpeg","path":"e98aaac93fb132cd686d49278d016e6d.jpeg","width":800,"height":800,"alt":"The Exorcist Printed Casual Men's Hoodie - ","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"514","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/the-exorcist-printed-casual-mens-hoodie?variant=8fddbfc2-4a35-486c-89d5-3a405f0eb309","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
return `
`
}()}