${function() {
const variantData = data.variant || {"id":"b038707b-5b2d-42b7-8482-5445f7ec2f92","product_id":"c26f97c6-db19-4513-a38e-ae607586ebe1","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308162851-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cff94f814ca377e5ca7a72b2b1a1400.jpeg","path":"8cff94f814ca377e5ca7a72b2b1a1400.jpeg","width":800,"height":800,"alt":"Halloweentown Est 1998 Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":36.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"36.98","retail_price":"50","available":true,"url":"\/products\/halloweentown-est-1998-sweatshirt?variant=b038707b-5b2d-42b7-8482-5445f7ec2f92","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
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.