window.processing = true;

Shop

Not sure where to start? Help me buy

window.sortBy = "best-selling";
Public House

Public House

IPA Amber. Fresh. Hoppy. 4.2%
£17.99
${ cartQty[39530699391051] }
window.processing = false;
window.productCardList = [{"id":6619989934155,"title":"Public House","handle":"1","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003ch4\u003e\u003cspan data-mce-fragment=\"1\"\u003eMalty \u0026amp; hoppy. A hop forward beer with a strong burst of piney, resinous and earthy characters. A seriously drinkable IPA.\u003c\/span\u003e\u003c\/h4\u003e","published_at":"2021-09-28T19:49:07+01:00","created_at":"2021-09-28T19:49:10+01:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|Classic","Additional Product Type|ipa","Additional Product Type|Pale Ale","Autumn","AWARDWINNER","Beer Scroller","BESTSELLER","BLUEFRESHBEER","Contains Gluten","GIFTING25","HOPPYFLAVOURDISCOVERY","Icons|amber","Icons|hoppy","Icons|mid high bitterness","Icons|pine","SHOPALLCOLLECTION","SUMMERSTYLE","Vegan"],"price":1799,"price_min":1799,"price_max":1799,"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":39530699391051,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"IPAREF3","requires_shipping":true,"taxable":true,"featured_image":{"id":30265537790027,"product_id":6619989934155,"position":1,"created_at":"2024-01-26T15:38:54+00:00","updated_at":"2024-01-26T15:38:56+00:00","alt":null,"width":1801,"height":1801,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536","variant_ids":[39530699391051]},"available":true,"name":"Public House - One-off","public_title":"One-off","options":["One-off"],"price":1799,"weight":1800,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904690139","featured_media":{"alt":null,"id":22561154498635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1801,"width":1801,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536"}},"requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[],"price":1799,"compare_at_price":null,"per_delivery_price":1799,"selling_plan_id":726499403,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536","options":["Title"],"media":[{"alt":null,"id":22561154498635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1801,"width":1801,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536"},"aspect_ratio":1.0,"height":1801,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/Banner_PublicHouse.jpg?v=1706283536","width":1801}],"requires_selling_plan":false,"selling_plan_groups":[{"id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0","name":"Pinter","options":[{"name":"Pinter","position":1,"values":["Delivered every month"]}],"selling_plans":[{"id":726499403,"name":"Every month","description":null,"options":[{"name":"Pinter","position":1,"value":"Delivered every month"}],"recurring_deliveries":true,"price_adjustments":[],"checkout_charge":{"value_type":"percentage","value":100}}],"app_id":null}],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003ch4\u003e\u003cspan data-mce-fragment=\"1\"\u003eMalty \u0026amp; hoppy. A hop forward beer with a strong burst of piney, resinous and earthy characters. A seriously drinkable IPA.\u003c\/span\u003e\u003c\/h4\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; } })); }