window.processing = true;

Shop

window.sortBy = "best-selling"; window.productCardList = [{"id":8802186756377,"title":"Sunlit","handle":"sun-lit-lager","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cstrong\u003eThe Ultimate Everyday Lager\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan\u003eThis sunshine golden lager is crisp with lightly spicy Czech Saaz hops and balanced with smooth British malt. Lager inspired by everywhere, for everyone.\u003c\/span\u003e","published_at":"2023-09-18T06:42:44-04:00","created_at":"2023-10-02T10:30:44-04:00","vendor":"Pinter","type":"Press","tags":["Additional Product Type|Classic","Additional Product Type|Lager\/Pilsner","Contains Gluten","CRM_Fresh-press","Filter Product Type|Fresh Beer","Icons|light hop","Icons|pale","SHOPALLCOLLECTION","Vegan"],"price":2799,"price_min":2799,"price_max":2799,"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":47057810325785,"title":"One-off","option1":"One-off","option2":null,"option3":null,"sku":"SLLREF3","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Sunlit - One-off","public_title":"One-off","options":["One-off"],"price":2799,"weight":1996,"compare_at_price":null,"inventory_management":"shopify","barcode":"5060904691570","requires_selling_plan":false,"selling_plan_allocations":[{"price_adjustments":[],"price":2799,"compare_at_price":null,"per_delivery_price":2799,"selling_plan_id":689337762073,"selling_plan_group_id":"6af3bacc726a1376e9130529b13256c02ffdde76"}],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/pinter.com\/cdn\/shop\/files\/Drink_Sunlit_03.png?v=1707816916"],"featured_image":"\/\/pinter.com\/cdn\/shop\/files\/Drink_Sunlit_03.png?v=1707816916","options":["Title"],"media":[{"alt":null,"id":36902302187801,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/pinter.com\/cdn\/shop\/files\/Drink_Sunlit_03.png?v=1707816916"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/pinter.com\/cdn\/shop\/files\/Drink_Sunlit_03.png?v=1707816916","width":1800}],"requires_selling_plan":false,"selling_plan_groups":[{"id":"6af3bacc726a1376e9130529b13256c02ffdde76","name":"Pinter","options":[{"name":"Pinter","position":1,"values":["Monthly"]}],"selling_plans":[{"id":689337762073,"name":"Monthly","description":"Monthly plan","options":[{"name":"Pinter","position":1,"value":"Monthly"}],"recurring_deliveries":true,"price_adjustments":[],"checkout_charge":{"value_type":"percentage","value":100}}],"app_id":null}],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cstrong\u003eThe Ultimate Everyday Lager\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan\u003eThis sunshine golden lager is crisp with lightly spicy Czech Saaz hops and balanced with smooth British malt. Lager inspired by everywhere, for everyone.\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; } })); }