window.processing = true;

Shop

window.sortBy = "best-selling"; window.productCardList = [{"id":8802210742553,"title":"Deep Gray Pinter","handle":"deep-gray-pinter","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\u003e","published_at":"2024-01-25T08:00:11-05:00","created_at":"2023-10-02T10:37:39-04:00","vendor":"Pinter","type":"Pinter","tags":["CRM_Pinter_3","SHOPALLCOLLECTION"],"price":19900,"price_min":19900,"price_max":19900,"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":47057879433497,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"PNT3BLK1","requires_shipping":true,"taxable":true,"featured_image":{"id":42947073016089,"product_id":8802210742553,"position":1,"created_at":"2023-10-02T10:38:16-04:00","updated_at":"2023-10-02T10:38:17-04:00","alt":null,"width":800,"height":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497","variant_ids":[47057879433497]},"available":true,"name":"Deep Gray Pinter - One-off","public_title":"One-off","options":["One-off"],"price":19900,"weight":4990,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904691976","featured_media":{"alt":null,"id":35360215040281,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497","\/\/pinter.com\/cdn\/shop\/files\/PinterSide_GreyWindowShadow_1.jpg?v=1698326597","\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_2467e934-92c8-497d-9f44-59efc798ed4e.png?v=1698328434"],"featured_image":"\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497","options":["Title"],"media":[{"alt":null,"id":35360215040281,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/grey-850x800.png?v=1696257497","width":800},{"alt":null,"id":35726578417945,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_GreyWindowShadow_1.jpg?v=1698326597"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_GreyWindowShadow_1.jpg?v=1698326597","width":800},{"alt":null,"id":35726909276441,"position":3,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_2467e934-92c8-497d-9f44-59efc798ed4e.png?v=1698328434"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_2467e934-92c8-497d-9f44-59efc798ed4e.png?v=1698328434","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\u003e"},{"id":8802213724441,"title":"Electric Blue Pinter","handle":"electric-blue-pinter","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\u003e","published_at":"2023-10-02T10:39:02-04:00","created_at":"2023-10-02T10:39:02-04:00","vendor":"Pinter","type":"Pinter","tags":["CRM_Pinter_3","SHOPALLCOLLECTION"],"price":19900,"price_min":19900,"price_max":19900,"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":47057889526041,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"PNT3BLU1","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Electric Blue Pinter - One-off","public_title":"One-off","options":["One-off"],"price":19900,"weight":4990,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904691983","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.com\/cdn\/shop\/files\/blue-850x800.webp?v=1696257640","\/\/pinter.com\/cdn\/shop\/files\/PinterSide_BlueWindowShadow_1.jpg?v=1698326589","\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_a3c83b64-b850-4344-8de3-5897da726b89.png?v=1698328454"],"featured_image":"\/\/pinter.com\/cdn\/shop\/files\/blue-850x800.webp?v=1696257640","options":["Title"],"media":[{"alt":null,"id":35360235880729,"position":1,"preview_image":{"aspect_ratio":1.063,"height":800,"width":850,"src":"\/\/pinter.com\/cdn\/shop\/files\/blue-850x800.webp?v=1696257640"},"aspect_ratio":1.063,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/blue-850x800.webp?v=1696257640","width":850},{"alt":null,"id":35726576976153,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_BlueWindowShadow_1.jpg?v=1698326589"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_BlueWindowShadow_1.jpg?v=1698326589","width":800},{"alt":null,"id":35726912422169,"position":3,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_a3c83b64-b850-4344-8de3-5897da726b89.png?v=1698328454"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01_a3c83b64-b850-4344-8de3-5897da726b89.png?v=1698328454","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\u003e"},{"id":8802219295001,"title":"Rich Red Pinter","handle":"rich-red-pinter","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\u003e","published_at":"2024-01-25T08:00:12-05:00","created_at":"2023-10-02T10:41:02-04:00","vendor":"Pinter","type":"Pinter","tags":["CRM_Pinter_3","SHOPALLCOLLECTION"],"price":19900,"price_min":19900,"price_max":19900,"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":47057904992537,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"PNT3RED1","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Rich Red Pinter - One-off","public_title":"One-off","options":["One-off"],"price":19900,"weight":4990,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904691990","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.com\/cdn\/shop\/files\/red-pinter-1000x900.webp?v=1696257670","\/\/pinter.com\/cdn\/shop\/files\/PinterSide_RedWindowShadow_1.jpg?v=1698326611","\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01.png?v=1698328425"],"featured_image":"\/\/pinter.com\/cdn\/shop\/files\/red-pinter-1000x900.webp?v=1696257670","options":["Title"],"media":[{"alt":null,"id":35360241123609,"position":1,"preview_image":{"aspect_ratio":1.111,"height":900,"width":1000,"src":"\/\/pinter.com\/cdn\/shop\/files\/red-pinter-1000x900.webp?v=1696257670"},"aspect_ratio":1.111,"height":900,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/red-pinter-1000x900.webp?v=1696257670","width":1000},{"alt":null,"id":35726581334297,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_RedWindowShadow_1.jpg?v=1698326611"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/PinterSide_RedWindowShadow_1.jpg?v=1698326611","width":800},{"alt":null,"id":35726907539737,"position":3,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01.png?v=1698328425"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/USPinter_Dimensions-01.png?v=1698328425","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eThe Pinter [Pint-er]: precision-engineered technology for anyone to enjoy 12 pints of award-winning Fresh Beer at home. Brewed by you, designed to share.\u003c\/span\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; } })); }