${function() {
const variantData = data.variant || {"id":"c16f9e37-0878-4d05-bb75-e31caf536462","product_id":"f45e54a1-78ad-4a25-800e-c3aa818784bf","title":"As shown-One-Size","weight_unit":"kg","inventory_quantity":999,"sku":"AHT393343-ASSONE","barcode":"","position":1,"option1":"As shown","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3bf8bb8943f73ff5371db80dd4dd988.jpeg","path":"b3bf8bb8943f73ff5371db80dd4dd988.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.19","price":"15.99","retail_price":"23.19","available":true,"url":"\/products\/unisex-problem-solved-bloody-halloween-print-hat?variant=c16f9e37-0878-4d05-bb75-e31caf536462","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"One-Size"}],"off_ratio":31,"flashsale_info":[],"sales":1};
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.