window.processing = true;

Shop

Not sure where to start? Help me buy

window.sortBy = "best-selling";
Space Hopper

Space Hopper

Double IPA Cosmic. Hoppy. Bold. 7.0%
£17.99
${ cartQty[39530700734539] }
Public House

Public House

IPA Amber. Fresh. Hoppy. 4.2%
£17.99
${ cartQty[39530699391051] }
Big DIPA

Big DIPA

DDH DIPA + Hopper Bold. Punchy. Hoppy. 7.0%
£19.99
${ cartQty[39623934672971] }
House Pale

House Pale

Session Pale Pale. Clean. Summery. 4.5%
£17.99
${ cartQty[39786692051019] }
House Pale Light

House Pale Light

Session Pale Pale. Clean. Summery. 4.0%
£16.99
${ cartQty[40319417811019] }
window.processing = false;
window.productCardList = [{"id":6619990523979,"title":"Space Hopper","handle":"9","description":"\u003ch4\u003e\n\u003cmeta charset=\"utf-8\"\u003e\n\u003cspan data-mce-fragment=\"1\"\u003eGolden colour and a slight haze. Strong, intense hop flavour and aroma but with enough malt in the back to balance things out.\u003c\/span\u003e\n\u003c\/h4\u003e","published_at":"2021-09-28T19:49:41+01:00","created_at":"2021-09-28T19:49:42+01:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|Classic","Additional Product Type|DIPA","Additional Product Type|Pale Ale","BESTSELLER","BLUEFRESHBEER","Contains Gluten","GIFTING25","Hidden_From_SEO","HOPPYFLAVOURDISCOVERY","HOTRIGHTNOW","Icons|citrus","Icons|full bodied","Icons|hoppy","SHOPALLCOLLECTION","SUMMERSTYLE","USA_export","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":39530700734539,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"SPHREF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Space Hopper - One-off","public_title":"One-off","options":["One-off"],"price":1799,"weight":1800,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904690481","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\/SpaceHopper_03.jpg?v=1693557821"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopper_03.jpg?v=1693557821","options":["Title"],"media":[{"alt":null,"id":22169323798603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopper_03.jpg?v=1693557821"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/SpaceHopper_03.jpg?v=1693557821","width":1800}],"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":"\u003ch4\u003e\n\u003cmeta charset=\"utf-8\"\u003e\n\u003cspan data-mce-fragment=\"1\"\u003eGolden colour and a slight haze. Strong, intense hop flavour and aroma but with enough malt in the back to balance things out.\u003c\/span\u003e\n\u003c\/h4\u003e"},{"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","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":null,"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","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\/PublicHouse_Improved_03.jpg?v=1715850272"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/PublicHouse_Improved_03.jpg?v=1715850272","options":["Title"],"media":[{"alt":null,"id":23072793526347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/PublicHouse_Improved_03.jpg?v=1715850272"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/PublicHouse_Improved_03.jpg?v=1715850272","width":1800}],"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"},{"id":6659265724491,"title":"Big DIPA","handle":"big-dipa","description":"\u003ch4\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/h4\u003e\n\u003ch4 data-mce-fragment=\"1\"\u003e\u003cspan face=\"arial, sans-serif\" data-mce-fragment=\"1\"\u003eSpace Hopper's big sister. \u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4 data-mce-fragment=\"1\"\u003e\u003cspan face=\"arial, sans-serif\" data-mce-fragment=\"1\"\u003eBold, punchy and hoppy. A galactic, tropical hit of peach, mango and pineapple but keeping it wholly drinkable. A twin to a fan favourite beer with an interplanetary twist.\u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003c\/h4\u003e","published_at":"2021-12-26T10:55:01+00:00","created_at":"2021-12-23T17:40:15+00:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|DIPA","Additional Product Type|Hopper","Additional Product Type|Pale Ale","AWARDWINNER","BALANCEDCRISPFLAVOURDISCOVERY","BESTSELLER","Contains Gluten","Filter Product Type|Fresh Beer","HOPPYFLAVOURDISCOVERY","Icons|citrus","Icons|high bitterness","Icons|hoppy","Icons|robust","REDFRESHBEER","SHOPALLCOLLECTION","Vegan"],"price":1999,"price_min":1999,"price_max":1999,"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":39623934672971,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"BIGREF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Big DIPA - One-off","public_title":"One-off","options":["One-off"],"price":1999,"weight":1800,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904690887","requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[],"price":1999,"compare_at_price":null,"per_delivery_price":1999,"selling_plan_id":726499403,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.co.uk\/cdn\/shop\/files\/BigDipa_03.jpg?v=1693556163"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/BigDipa_03.jpg?v=1693556163","options":["Title"],"media":[{"alt":null,"id":22169295978571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/BigDipa_03.jpg?v=1693556163"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/BigDipa_03.jpg?v=1693556163","width":1800}],"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":"\u003ch4\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/h4\u003e\n\u003ch4 data-mce-fragment=\"1\"\u003e\u003cspan face=\"arial, sans-serif\" data-mce-fragment=\"1\"\u003eSpace Hopper's big sister. \u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4 data-mce-fragment=\"1\"\u003e\u003cspan face=\"arial, sans-serif\" data-mce-fragment=\"1\"\u003eBold, punchy and hoppy. A galactic, tropical hit of peach, mango and pineapple but keeping it wholly drinkable. A twin to a fan favourite beer with an interplanetary twist.\u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003c\/h4\u003e"},{"id":6732444631115,"title":"House Pale","handle":"house-pale","description":"\u003ch4\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003cspan\u003eThe Ultimate Crowd Pleaser. Super crisp and light session pale ale. The American hop combination provides gentle notes of grapefruit and melon. Easy-drinking, refreshing and highly moreish.\u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003c\/h4\u003e","published_at":"2022-06-24T11:34:35+01:00","created_at":"2022-06-16T10:37:54+01:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|Bestseller","Additional Product Type|Classic","Additional Product Type|Pale Ale","Additional Product Type|Session Ale","Contains Gluten","Filter Product Type|Fresh Beer","HOPPYFLAVOURDISCOVERY","Icons|clean","Icons|crisp","Icons|fruit","Icons|pale","Packing_Fresh_Press","pale","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":39786692051019,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"HPAREF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"House Pale - One-off","public_title":"One-off","options":["One-off"],"price":1799,"weight":1400,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904691815","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\/HousePale_03.jpg?v=1693557949"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_03.jpg?v=1693557949","options":["Title"],"media":[{"alt":null,"id":22169325338699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_03.jpg?v=1693557949"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_03.jpg?v=1693557949","width":1800}],"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":"\u003ch4\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003cspan\u003eThe Ultimate Crowd Pleaser. Super crisp and light session pale ale. The American hop combination provides gentle notes of grapefruit and melon. Easy-drinking, refreshing and highly moreish.\u003c\/span\u003e\u003c\/h4\u003e\n\u003ch4\u003e\u003c\/h4\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","HOPPYFLAVOURDISCOVERY","Icons|full bodied","Icons|high bitterness","Icons|hoppy","Icons|tropical","Riaz Recommends","SHOPALLCOLLECTION","Vegan"],"price":1999,"price_min":1999,"price_max":1999,"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":39970366685259,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"SH2REF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"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":[],"price":1999,"compare_at_price":null,"per_delivery_price":1999,"selling_plan_id":726499403,"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"]}],"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":"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"},{"id":6940637429835,"title":"House Pale Light","handle":"house-pale-light","description":"\u003ch4\u003eIntroducing an even more accessible and enjoyable Ultimate Crowd Pleaser! \u003cbr\u003e\u003cbr\u003eThis super crisp and light session pale ale boasts a lower ABV than our original Pale for those seeking a lighter option. The American hop combination delivers gentle notes of grapefruit and melon, ensuring an easy-drinking, refreshing, and highly moreish brew. Embrace the lighter side of House Pale without compromising on flavour.\u003c\/h4\u003e","published_at":"2024-02-15T16:44:19+00:00","created_at":"2024-02-14T11:19:18+00:00","vendor":"TGG - Fresh Brewing","type":"Press","tags":["Additional Product Type|Ales","Additional Product Type|Classic","Additional Product Type|Light Beer","Additional Product Type|Pale Ale","Additional Product Type|Session Ale","Contains Gluten","HOPPYFLAVOURDISCOVERY","Icons|clean","Icons|crisp","Icons|fruit","Icons|pale","Packing_Fresh_Press","pale","Vegan"],"price":1699,"price_min":1699,"price_max":1699,"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":40319417811019,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"HPLREF3","requires_shipping":true,"taxable":true,"featured_image":{"id":30329834864715,"product_id":6940637429835,"position":1,"created_at":"2024-02-14T11:49:45+00:00","updated_at":"2024-02-14T11:49:47+00:00","alt":null,"width":558,"height":558,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387","variant_ids":[40319417811019]},"available":true,"name":"House Pale Light - One-off","public_title":"One-off","options":["One-off"],"price":1699,"weight":1400,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":22626898346059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":558,"width":558,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387"}},"requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[],"price":1699,"compare_at_price":null,"per_delivery_price":1699,"selling_plan_id":726499403,"selling_plan_group_id":"be5e5fd260ca25f9cd4737f4da1541b6040109c0"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387"],"featured_image":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387","options":["Title"],"media":[{"alt":null,"id":22626898346059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":558,"width":558,"src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387"},"aspect_ratio":1.0,"height":558,"media_type":"image","src":"\/\/pinter.co.uk\/cdn\/shop\/files\/HousePale_Light_03.jpg?v=1707911387","width":558}],"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":"\u003ch4\u003eIntroducing an even more accessible and enjoyable Ultimate Crowd Pleaser! \u003cbr\u003e\u003cbr\u003eThis super crisp and light session pale ale boasts a lower ABV than our original Pale for those seeking a lighter option. The American hop combination delivers gentle notes of grapefruit and melon, ensuring an easy-drinking, refreshing, and highly moreish brew. Embrace the lighter side of House Pale without compromising on flavour.\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; } })); }