window.processing = true;

Shop

window.sortBy = "best-selling"; window.productCardList = [{"id":9551054471449,"title":"Taproom Bundle","handle":"taproom-bundle-1-copy","description":"\u003cp\u003eWe’re opening Pinter Taprooms across the UK and we want you to run them.\u003c\/p\u003e\n\u003cp\u003eLet's bring our Pinter community even closer together starting with this Taproom Pack, including 2 x Pinters, 2 x free beers and 4 x glassware.\u003c\/p\u003e","published_at":"2024-07-01T04:41:00-04:00","created_at":"2024-06-26T11:31:52-04:00","vendor":"Pinter","type":"Bundle","tags":["Contains Gluten","Vegan"],"price":52000,"price_min":52000,"price_max":52000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":49182667079961,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"PNT3BLU46","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Taproom Bundle - One-off","public_title":"One-off","options":["One-off"],"price":52000,"weight":1996,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.com\/cdn\/shop\/files\/AmbassadorsUSBundle_02_7857e7c6-2a8c-4b80-8205-fa81cce66ee3.jpg?v=1719477623"],"featured_image":"\/\/pinter.com\/cdn\/shop\/files\/AmbassadorsUSBundle_02_7857e7c6-2a8c-4b80-8205-fa81cce66ee3.jpg?v=1719477623","options":["Title"],"media":[{"alt":null,"id":38656354812185,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/pinter.com\/cdn\/shop\/files\/AmbassadorsUSBundle_02_7857e7c6-2a8c-4b80-8205-fa81cce66ee3.jpg?v=1719477623"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/AmbassadorsUSBundle_02_7857e7c6-2a8c-4b80-8205-fa81cce66ee3.jpg?v=1719477623","width":1080}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eWe’re opening Pinter Taprooms across the UK and we want you to run them.\u003c\/p\u003e\n\u003cp\u003eLet's bring our Pinter community even closer together starting with this Taproom Pack, including 2 x Pinters, 2 x free beers and 4 x glassware.\u003c\/p\u003e"}]; callSortingFunction(); function callSortingFunction() { if(window.processing) { setTimeout(function() { callSortingFunction(); },1000); } var sorted_items = getSorted('.card-product', 'data-sort', window.sortBy); $('.listing-shop__inner').html(sorted_items); } function getSorted(selector, attrName, ascordesc) { return $($(selector).toArray().sort(function(a, b){ var aType = a.getAttribute('data-type'); var bType = b.getAttribute('data-type'); var aAvailable = a.getAttribute('data-available'); var bAvailable = b.getAttribute('data-available'); if ((aType === "Pinter" && aAvailable) && (bType === "Tap" || bType === "Co-Pinter")) return -1; else if (aType === "Tap" && aAvailable && bType === "Co-Pinter") return -1; else if (bType === "Pinter" && bAvailable && (aType === "Tap" || aType === "Co-Pinter")) return 1; else if (bType === "Tap" && bAvailable && aType === "Co-Pinter") return 1; else if ((aType === "Tap" || aType === "Pinter" || aType === "Co-Pinter") && aAvailable && (bType !== "Tap" && bType !== "Pinter" && bType !== "Co-Pinter")) return -1; else if ((aType !== "Tap" && aType !== "Pinter" && aType !== "Co-Pinter") && bAvailable && (bType === "Tap" || bType === "Pinter" || bType === "Co-Pinter")) return 1; else if (aAvailable === "false" && bAvailable === "true") return 1; else if (aAvailable === "true" && bAvailable === "false") return -1; var aVal = parseInt(a.getAttribute(attrName)), bVal = parseInt(b.getAttribute(attrName)); if(ascordesc == 'price-ascending'){ return aVal - bVal; } if(ascordesc == 'price-dec'){ return bVal - aVal; } })); }