window.processing = true;

Shop

Not sure where to start? Help me buy

window.sortBy = "best-selling"; window.productCardList = [{"id":6849435992139,"title":"Ancestor's","handle":"ancestors","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eOur House Bitter is a 4.1% British classic. Malty, biscuit and a touch of dark malt for extra depth of glorious golden-amber colour. A perfect pub-from-home experience.\u003c\/span\u003e\u003cbr\u003e","published_at":"2024-01-04T10:01:32+00:00","created_at":"2023-08-21T09:38:33+01:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Classic","Additional Product Type|House Range","Additional Product Type|Other Styles","Autumn","Contains Gluten","Filter Product Type|Fresh Beer","funnel_brewdog","funnel_default","funnel_norwich","GOLDRATED","Icons|amber","Icons|low mild hop","Icons|malt 1","Icons|mid low bitterness","Riaz Recommends","SHOPALLCOLLECTION","Vegan"],"price":1499,"price_min":1499,"price_max":1499,"available":false,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":40054410182731,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"HS1REF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Ancestor's - One-off","public_title":"One-off","options":["One-off"],"price":1499,"weight":1800,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904690382","requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[{"position":1,"price":1199}],"price":1199,"compare_at_price":1499,"per_delivery_price":1199,"selling_plan_id":726499403,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"},{"price_adjustments":[{"position":1,"price":1499}],"price":1499,"compare_at_price":1499,"per_delivery_price":1499,"selling_plan_id":709864259966,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"},{"price_adjustments":[{"position":1,"price":1499}],"price":1499,"compare_at_price":1499,"per_delivery_price":1499,"selling_plan_id":1113587787,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.co.uk\/cdn\/shop\/files\/HouseRangeShopImageBanner-01.png?v=1693487274"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/HouseRangeShopImageBanner-01.png?v=1693487274","options":["Title"],"media":[{"alt":null,"id":22168074616907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1801,"width":1801,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HouseRangeShopImageBanner-01.png?v=1693487274"},"aspect_ratio":1.0,"height":1801,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HouseRangeShopImageBanner-01.png?v=1693487274","width":1801}],"requires_selling_plan":false,"selling_plan_groups":[{"id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0","name":"Pinter","options":[{"name":"Pinter","position":1,"values":["Delivered every month","Every 4 weeks","Spread Payments Product"]}],"selling_plans":[{"id":726499403,"name":"Every month","description":null,"options":[{"name":"Pinter","position":1,"value":"Delivered every month"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"percentage","value":20}],"checkout_charge":{"value_type":"percentage","value":100}},{"id":709864259966,"name":"Every 4 weeks","description":"Every 4 weeks","options":[{"name":"Pinter","position":1,"value":"Every 4 weeks"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"fixed_amount","value":0}],"checkout_charge":{"value_type":"percentage","value":100}},{"id":1113587787,"name":"Spread Payments Product","description":"Spread Payments Product","options":[{"name":"Pinter","position":1,"value":"Spread Payments Product"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"percentage","value":0}],"checkout_charge":{"value_type":"percentage","value":100}}],"app_id":null}],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eOur House Bitter is a 4.1% British classic. Malty, biscuit and a touch of dark malt for extra depth of glorious golden-amber colour. A perfect pub-from-home experience.\u003c\/span\u003e\u003cbr\u003e"},{"id":6819875848267,"title":"Space Hopper West Coast Edition","handle":"space-hopper-west-coast-edition","description":"The second edition to the Space Hopper DIPA family. Dry, crisp and hoppy. Floral hops take centre stage providing a punchy, piney aroma. Background notes of peach, pineapple and orange bring a recognisable yet subtle fruitiness. \u003cbr data-mce-fragment=\"1\"\u003e","published_at":"2023-02-27T16:12:37+00:00","created_at":"2023-02-27T10:05:49+00:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|DDH IPA","Additional Product Type|Hopper","Additional Product Type|Pale Ale","BALANCEDCRISPFLAVOURDISCOVERY","Contains Gluten","Filter Product Type|Fresh Beer","funnel_brewdog","funnel_default","funnel_norwich","GOLDRATED","HOPPYFLAVOURDISCOVERY","Icons|full bodied","Icons|high bitterness","Icons|hoppy","Icons|tropical","Riaz Recommends","SHOPALLCOLLECTION","Vegan"],"price":1999,"price_min":1999,"price_max":1999,"available":false,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":39970366685259,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"SH2REF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Space Hopper West Coast Edition - One-off","public_title":"One-off","options":["One-off"],"price":1999,"weight":1800,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904692560","requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[{"position":1,"price":1599}],"price":1599,"compare_at_price":1999,"per_delivery_price":1599,"selling_plan_id":726499403,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"},{"price_adjustments":[{"position":1,"price":1999}],"price":1999,"compare_at_price":1999,"per_delivery_price":1999,"selling_plan_id":709864259966,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"},{"price_adjustments":[{"position":1,"price":1999}],"price":1999,"compare_at_price":1999,"per_delivery_price":1999,"selling_plan_id":1113587787,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopperWestCoastEdition_03.jpg?v=1693556980"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopperWestCoastEdition_03.jpg?v=1693556980","options":["Title"],"media":[{"alt":null,"id":22169311019083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopperWestCoastEdition_03.jpg?v=1693556980"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopperWestCoastEdition_03.jpg?v=1693556980","width":1800}],"requires_selling_plan":false,"selling_plan_groups":[{"id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0","name":"Pinter","options":[{"name":"Pinter","position":1,"values":["Delivered every month","Every 4 weeks","Spread Payments Product"]}],"selling_plans":[{"id":726499403,"name":"Every month","description":null,"options":[{"name":"Pinter","position":1,"value":"Delivered every month"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"percentage","value":20}],"checkout_charge":{"value_type":"percentage","value":100}},{"id":709864259966,"name":"Every 4 weeks","description":"Every 4 weeks","options":[{"name":"Pinter","position":1,"value":"Every 4 weeks"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"fixed_amount","value":0}],"checkout_charge":{"value_type":"percentage","value":100}},{"id":1113587787,"name":"Spread Payments Product","description":"Spread Payments Product","options":[{"name":"Pinter","position":1,"value":"Spread Payments Product"}],"recurring_deliveries":true,"price_adjustments":[{"order_count":null,"position":1,"value_type":"percentage","value":0}],"checkout_charge":{"value_type":"percentage","value":100}}],"app_id":null}],"content":"The second edition to the Space Hopper DIPA family. Dry, crisp and hoppy. Floral hops take centre stage providing a punchy, piney aroma. Background notes of peach, pineapple and orange bring a recognisable yet subtle fruitiness. \u003cbr data-mce-fragment=\"1\"\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; } })); }