${function() {
const variantData = data.variant || {"id":"4640adb5-11de-44dd-b2fd-1fcc526ec038","product_id":"6f173ca9-2001-4181-83fb-eb381dd05b78","title":"As shown-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"AHT387391-ASSONE","barcode":"","position":1,"option1":"As shown","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89b88826a562feb71176e17466eb89c8.jpeg","path":"89b88826a562feb71176e17466eb89c8.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"15.99","retail_price":"23.99","available":true,"url":"\/products\/unisex-im-fine-bloody-halloween-printed-hat?variant=4640adb5-11de-44dd-b2fd-1fcc526ec038","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"One-Size"}],"off_ratio":33,"flashsale_info":[],"sales":0};
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.