1<!doctype html> 2<html class="no-js" lang="en"> 3 4<head> 5 6 7
7<script type="application/ld+json"> 8 { 9 "@context" : "https://schema.org", 10 "@type" : "website", 11 "name" : "Good Time Brewing", 12 "url" : "https://goodtimebrewing.com/" 13 } 14 </script>
14 15 16 17 18 <link rel="canonical" href="https://goodtimebrewing.com/blogs/journal"> 19
19<script type="application/ld+json"> 20{ 21 "@context": "https://schema.org", 22 "@type": "BreadcrumbList", 23 "itemListElement": [{ 24 "@type": "ListItem", 25 "position": 1, 26 "item": 27 { 28 "@id": "https://goodtimebrewing.com", 29 "name": "Home" 30 } 31 }, 32 { 33 "@type": "ListItem", 34 "position": 2, 35 "item": 36 { 37 "@id": "https://goodtimebrewing.com/blogs/journal", 38 "name": "" 39 } 40 }] 41 } 42</script>
42 43 44 45 46 <meta name="facebook-domain-verification" content="uly00of1sa943vkxxtlnc45cy6au3c" /> 47 <meta charset="utf-8"> 48 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 49 <meta name="viewport" content="width=device-width,initial-scale=1"> 50 <meta name="theme-color" content="#2a502c"> 51 52 <link rel="preconnect" href="https://cdn.shopify.com" crossorigin><link rel="icon" type="image/png" href="//goodtimebrewing.com/cdn/shop/files/goodTime.png?crop=center&height=32&v=1699072897&width=32"><link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin><title> 53 Journal 54</title> 55 56 57 58 59 60 61 62 63 <meta property="og:url" content="https://goodtimebrewing.com/blogs/journal"> 64 65<meta property="og:site_name" content="Good Time Brewing"> 66<meta property="og:type" content="website"><meta property="og:image" content="https://cdn.shopify.com/s/files/1/0737/3232/5665/files/GT_LINK_CREATIVE.png?v=1706327442"> 67 <meta property="og:image:secure_url" content="https://cdn.shopify.com/s/files/1/0737/3232/5665/files/GT_LINK_CREATIVE.png?v=1706327442"> 68 <meta property="og:image:width" content="566"> 69 <meta property="og:image:height" content="274"><meta name="twitter:card" content="summary_large_image"> 70<meta name="twitter:title" content="Journal"> 71<meta name="twitter:description" content="Good Time Brewing Company is changing the beer, bar and beverage industry by offering the best-tasting non alcoholic beers for all to enjoy."> 72 73 74
74<script src="//goodtimebrewing.com/cdn/shop/t/55/assets/constants.js?v=95358004781563950421738633420" defer="defer"></script>
74 75
75<script src="//goodtimebrewing.com/cdn/shop/t/55/assets/pubsub.js?v=2921868252632587581738633420" defer="defer"></script>
75 76
76<script src="//goodtimebrewing.com/cdn/shop/t/55/assets/minified.global.js?v=161501836235513785561738633420" defer="defer"></script>
76 77
77<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script>
77<meta name="facebook-domain-verification" content="07saufzbpmw1d6ee7r526b2zwxxptc"> 78<meta name="google-site-verification" content="ZuluTMxn_8SfdjqqxYJcXZm0nQhTs1-0t6CVh4TaINY"> 79<meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/73732325665/digital_wallets/dialog"> 80<meta id="in-context-paypal-metadata" data-shop-id="73732325665" data-venmo-supported="false" data-environment="production" data-locale="en_US" data-paypal-v4="true" data-currency="USD"> 81<link rel="ucp" href="/.well-known/ucp" version="2026-08-25"><link rel="alternate" type="application/atom+xml" title="Feed" href="/blogs/journal.atom" />
82<script async="async" src="/checkouts/internal/preloads.js?locale=en-US"></script>
82 83<link rel="preconnect" href="https://shop.app" crossorigin="anonymous">
84<script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-US&shop_id=73732325665" crossorigin="anonymous"></script>
vendor: 1 bytes, line 84
84
85<script id="apple-pay-shop-capabilities" type="application/json">{"shopId":73732325665,"countryCode":"US","currencyCode":"USD","merchantCapabilities":["supports3DS"],"merchantId":"gid:\/\/shopify\/Shop\/73732325665","merchantName":"Good Time Brewing ","requiredBillingContactFields":["postalAddress","email"],"requiredShippingContactFields":["postalAddress","email"],"shippingType":"shipping","supportedNetworks":["visa","masterCard","discover","amex","elo","jcb"],"total":{"type":"pending","label":"Good Time Brewing ","amount":"1.00"},"shopifyPaymentsEnabled":true,"supportsSubscriptions":true}</script>
vendor: 1 bytes, line 85
85
86<script id="shopify-features" type="application/json">{"accessToken":"d6c91812edfeaa9bcfea326487735b02","betas":["rich-media-storefront-analytics"],"domain":"goodtimebrewing.com","predictiveSearch":true,"shopId":73732325665,"locale":"en"}</script>
vendor: 1 bytes, line 86
86
87<script>var Shopify = Shopify || {}; 88Shopify.shop = "good-time-brewing.myshopify.com"; 89Shopify.locale = "en"; 90Shopify.currency = {"active":"USD","rate":"1.0"}; 91Shopify.country = "US"; 92Shopify.theme = {"name":"Drawer Live Test \/ 02-03","id":176280895777,"schema_name":"Dawn","schema_version":"9.0.0","theme_store_id":887,"role":"main"}; 93Shopify.theme.handle = "null"; 94Shopify.theme.style = {"id":null,"handle":null}; 95Shopify.cdnHost = "goodtimebrewing.com/cdn"; 96Shopify.routes = Shopify.routes || {}; 97Shopify.routes.root = "/"; 98Shopify.shopJsCdnBaseUrl = "https://cdn.shopify.com/shopifycloud/shop-js"; 99Shopify.SignInWithShop = Shopify.SignInWithShop || {}; 100Shopify.SignInWithShop.User = Shopify.SignInWithShop.User || {}; 101Shopify.SignInWithShop.User.recognized = false;</script>
vendor: 1 bytes, line 101
101
102<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
vendor: 1 bytes, line 102
102
103<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
vendor: 1 bytes, line 103
103
104<script> 105 window.ShopifyPay = window.ShopifyPay || {}; 106 window.ShopifyPay.apiHost = "shop.app\/pay"; 107 window.ShopifyPay.redirectState = null; 108</script>
vendor: 1 bytes, line 108
108
109<script> 110 window.Shopify = window.Shopify || {}; 111 window.Shopify.SignInWithShop = window.Shopify.SignInWithShop || {}; 112 window.Shopify.SignInWithShop.assetMetrics = { sampleRate: 0.25 }; 113 window.Shopify.SignInWithShop.eligible = true; 114</script>
vendor: 1 bytes, line 114
114
115<script id="shop-js-analytics" type="application/json">{"pageType":"blog"}</script>
vendor: 1 bytes, line 115
115
116<script defer="defer" async type="module" src="https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"></script>
vendor: 1 bytes, line 116
116
117<script type="module"> 118 await import("https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"); 119 120 window.Shopify.SignInWithShop?.initShopCartSync?.({"fedCMEnabled":true,"windoidEnabled":true}); 121 122</script>
vendor: 1 bytes, line 122
122
123<script> 124 window.Shopify = window.Shopify || {}; 125 if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {}; 126 window.Shopify.featureAssets['shop-js'] = {"avatar":["modules/v2/loader.avatar.en.esm.js"],"checkout-modal":["modules/v2/loader.checkout-modal.en.esm.js"],"init-customer-accounts-sign-up":["modules/v2/loader.init-customer-accounts-sign-up.en.esm.js"],"init-customer-accounts":["modules/v2/loader.init-customer-accounts.en.esm.js"],"init-fed-cm":["modules/v2/loader.init-fed-cm.en.esm.js"],"init-shop-cart-sync":["modules/v2/loader.init-shop-cart-sync.en.esm.js"],"init-shop-email-lookup-coordinator":["modules/v2/loader.init-shop-email-lookup-coordinator.en.esm.js"],"init-shop-for-new-customer-accounts":["modules/v2/loader.init-shop-for-new-customer-accounts.en.esm.js"],"init-shop-user-recognition":["modules/v2/loader.init-shop-user-recognition.en.esm.js"],"init-windoid":["modules/v2/loader.init-windoid.en.esm.js"],"lead-capture":["modules/v2/loader.lead-capture.en.esm.js"],"listener":["modules/v2/loader.listener.en.esm.js"],"pay-button":["modules/v2/loader.pay-button.en.esm.js"],"payment-terms":["modules/v2/loader.payment-terms.en.esm.js"],"shop-button":["modules/v2/loader.shop-button.en.esm.js"],"shop-cart-sync":["modules/v2/loader.shop-cart-sync.en.esm.js"],"shop-cash-offers":["modules/v2/loader.shop-cash-offers.en.esm.js"],"shop-follow-button":["modules/v2/loader.shop-follow-button.en.esm.js"],"shop-login-button":["modules/v2/loader.shop-login-button.en.esm.js"],"shop-login":["modules/v2/loader.shop-login.en.esm.js"],"shop-toast-manager":["modules/v2/loader.shop-toast-manager.en.esm.js"],"shop-user-recognition":["modules/v2/loader.shop-user-recognition.en.esm.js"]}; 127</script>
vendor: 1 bytes, line 127
127
128<script id="__st">var __st={"a":73732325665,"offset":-14400,"reqid":"4bfe553f-131a-458e-b58f-596d77beb8d2-1791461193","pageurl":"goodtimebrewing.com\/blogs\/journal","s":"blogs-111207088417","u":"731c66487f04","p":"blog","rtyp":"blog","rid":111207088417};</script>
vendor: 1 bytes, line 128
128
129<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
vendor: 1 bytes, line 129
129
130<script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(','),a=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];function s(){const t=[...o],e=r(t);return a(e)}const i='password',u='form_key',d=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response',i],f=()=>{try{return window.sessionStorage}catch{return}},m='__shopify_v',_=t=>t.elements[u];function p(t,e,n=!1){try{const o=window.sessionStorage,c=JSON.parse(o.getItem(e)),{data:r}=function(t){const{data:e,action:n}=t;return t[m]||n?{data:e,action:n}:{data:t,action:n}}(c);for(const[e,n]of Object.entries(r))t.elements[e]&&(t.elements[e].value=n);n&&o.removeItem(e)}catch(o){console.error('form repopulation failed',{error:o})}}const l='form_type',E='cptcha';function T(t){t.dataset[E]=!0}const w=window,h=w.document,L='Shopify',v='ce_forms',y='captcha';let A=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe',I='https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.5.3.iife.js',D={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=w[L][v],c=o.bindForm;if(c)return c(t,g,e,D).then(n);var r;o.q.push([[t,g,e,D],n]),r=I,A||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:r})),A=!0)});var g,I,D;w[L]=w[L]||{},w[L][v]=w[L][v]||{},w[L][v].q=[],w[L][y]=w[L][y]||{},w[L][y].protect=function(t,e){n(t,void 0,e),T(t)},Object.freeze(w[L][y]),function(t,e,n,w,h,L){const[v,y,A,g]=function(t,e,n){const i=e?o:[],u=t?c:[],d=[...i,...u],f=r(d),m=r(i),_=r(d.filter((([t,e])=>n.includes(e))));return[a(f),a(m),a(_),s()]}(w,h,L),I=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},D=t=>v().includes(t);t.addEventListener('submit',(t=>{const e=I(t);if(!e)return;const n=D(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=_(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!f())return;!function(t){const e=f();if(!e)return;const n=_(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){_(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:u})),t.elements[u].value=e}(t,e),function(t,e){const n=f();if(!n)return;const o=[...t.querySelectorAll(`input[type='${i}']`)].map((({name:t})=>t)),c=[...d,...o],r={};for(const[a,s]of new FormData(t).entries())c.includes(a)||(r[a]=s);n.setItem(e,JSON.stringify({[m]:1,action:t.action,data:r}))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const S=(t,e)=>{t&&!t.dataset[E]&&(n(t,e.some((e=>e===t))),T(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=I(t);D(e)&&S(e,y())}));const B=e.get('form_key'),M=e.get(l),P=B&&M;t.addEventListener('DOMContentLoaded',(()=>{const t=y();if(P)for(const e of t)e.elements[l].value===M&&p(e,B);[...new Set([...A(),...v().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>S(e,t)))}))}(h,new URLSearchParams(w.location.search),n,t,e,['guest_login'])})(!0,!0)}();</script>
vendor: 1 bytes, line 130
130
131<script integrity="sha256-JjoPp5ZfB1sSAs5SQaol1x1GgvveM+BgmRzyDexInEQ=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//goodtimebrewing.com/cdn/shopifycloud/storefront/assets/storefront/load_feature-1bd60354.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 131
131
132<script>(function () {var userAgent = navigator.userAgent;var platform = navigator.platform;var maxTouchPoints = navigator.maxTouchPoints || 0;var isIOS = /iPad|iPhone|iPod/.test(platform) || (platform === 'MacIntel' && maxTouchPoints > 1);var isMacSafari = platform.indexOf('Mac') === 0 && /Safari/.test(userAgent) && !/Chrome|Chromium|CriOS|FxiOS|Edg|OPR|Android/.test(userAgent);var isAppleSafari = isIOS || isMacSafari;if (isAppleSafari) {fetch('/sf_private_access_tokens' + location.search).catch(function () {});}function browserMajorVersion(pattern) {var match = userAgent.match(pattern);return match ? parseInt(match[1], 10) : null;}function shouldLoadAutosizesPolyfill() {if (!window.PerformanceObserver?.supportedEntryTypes?.includes('paint')) {return false;}var chromeVersion = browserMajorVersion(/Chrome\/(\d+)/);if (chromeVersion !== null) {return chromeVersion < 126;}var firefoxVersion = browserMajorVersion(/Firefox\/(\d+)/);if (firefoxVersion !== null) {return firefoxVersion < 150;}var safariVersion = isAppleSafari ? browserMajorVersion(/Version\/(\d+).*Safari\//) : null;if (safariVersion !== null) {return safariVersion < 27;}return true;}if (shouldLoadAutosizesPolyfill()) {var autosizesScript = document.createElement('script');autosizesScript.async = true;autosizesScript.crossOrigin = 'anonymous';autosizesScript.src = "//goodtimebrewing.com/cdn/shopifycloud/storefront/assets/storefront/autosizes-84416378.js";(document.head || document.documentElement).appendChild(autosizesScript);}window.ShopifyAnalytics = window.ShopifyAnalytics || {};window.ShopifyAnalytics.performance = window.ShopifyAnalytics.performance || {};(function () {var LONG_FRAME_THRESHOLD = 50;var longAnimationFrames = [];var activeRafId = null;function collectLongFrames() {var previousTime = null;function rafMonitor(now) {if (activeRafId === null) {return;}var delta = now - previousTime;if (delta > LONG_FRAME_THRESHOLD) {longAnimationFrames.push({startTime: previousTime,endTime: now,});}previousTime = now;activeRafId = requestAnimationFrame(rafMonitor);}previousTime = performance.now();activeRafId = requestAnimationFrame(rafMonitor);}if (!window.PerformanceObserver?.supportedEntryTypes?.includes('long-animation-frame')) {collectLongFrames();var timeoutId = setTimeout(function () {cancelAnimationFrame(activeRafId);}, 10000);window.ShopifyAnalytics.performance.getLongAnimationFrames = function (stopCollection) {if (stopCollection === undefined) {stopCollection = false;}if (stopCollection) {clearTimeout(timeoutId);cancelAnimationFrame(activeRafId);}return longAnimationFrames;};}})();})();</script>
132<script crossorigin="anonymous" defer="defer" src="//goodtimebrewing.com/cdn/shopifycloud/storefront/assets/shopify_pay/storefront-f0e26bdf.js?v=20250812"></script>
vendor: 1 bytes, line 132
132
133<script id="shopify-origin-trials" async="async" integrity="sha256-qJbe/jEZBHtr5W/BlA2cKAz3vkXu6vJQyLjgvgCC86g=" src="//cdn.shopify.com/shopifycloud/storefront/assets/storefront/origin_trials-318ab40a.js" crossorigin="anonymous" onload="window.__shopifyOriginTrialsDone = true" onerror="window.__shopifyOriginTrialsDone = true"></script>
vendor: 1 bytes, line 133
133
134<script> 135 window.Shopify = window.Shopify || {}; 136 window.Shopify.MCP = window.Shopify.MCP || {}; 137 window.Shopify.MCP.enabled = true; 138 window.Shopify.MCP.shop = "good-time-brewing.myshopify.com"; 139 window.Shopify.MCP.mcpEndpoint = "https:\/\/goodtimebrewing.com\/api\/mcp"; 140 window.Shopify.MCP.tools = [{"name":"search_shop_policies_and_faqs","description":"Used to get facts about the stores policies, products, or services.\nSome examples of questions you can ask are:\n - What is your return policy?\n - What is your shipping policy?\n - What is your phone number?\n - What are your hours of operation?\"\nSet policy_types to also get the store's written policies (full text and URL).\n","inputSchema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","type":"object","properties":{"query":{"type":"string","description":"A natural language query."},"context":{"type":"string","description":"Additional information about the request such as user demographics, mood, location, or other relevant details that could help in tailoring the response appropriately."},"policy_types":{"type":"array","items":{"type":"string","enum":["refund","shipping","privacy","terms_of_service","terms_of_sale","subscription","legal_notice","contact"]},"description":"Policy kinds to fetch, chosen from the user's question â e.g. [\"refund\"] for returns\/exchanges\/damaged items, [\"contact\"] for phone\/hours\/address. Include every kind the question touches. Omit it to get only FAQ answers."}},"required":["query"]}}]; 141</script>
vendor: 1 bytes, line 141
141
142<script>(()=>{var d="shopify:webmcp_adapter_loaded",n=Symbol.for("shopify.webmcp_adapter_loading");function s(c,a,{win:r=window,doc:o=document}={}){function p(){try{return r.localStorage.getItem(d)==="true"}catch{return!1}}function l(){try{r.localStorage.setItem(d,"true")}catch{}}function u(){return typeof(o.modelContext||r.navigator?.modelContext)?.registerTool=="function"}function f(){if(r[n]||!u())return;let t=o.head||o.getElementsByTagName("head")[0];if(!t)return;let e=o.createElement("script");e.type="module",e.crossOrigin="anonymous",a&&(e.integrity=a),e.src=c,e.addEventListener("load",l,{once:!0}),e.addEventListener("error",()=>{r[n]=!1},{once:!0}),t.appendChild(e),r[n]=!0}function _(t){let e=o.getElementById("shopify-origin-trials");if(!e||r.__shopifyOriginTrialsDone){t();return}e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0})}function i(){_(()=>r.setTimeout(f,0))}function m(){o.addEventListener("DOMContentLoaded",i,{once:!0})}p()?i():m()}s("\/\/goodtimebrewing.com\/cdn\/shopifycloud\/storefront\/assets\/storefront\/webmcp-c6b62ece.js","sha256-ke4DDuBjdvea3vxLWxHc9E9nq8zihuG4IfYEGbb77ys=");})(); 143</script>
vendor: 1 bytes, line 143
143
144<script data-source-attribution="shopify.dynamic_checkout.dynamic.init">var Shopify=Shopify||{};Shopify.PaymentButton=Shopify.PaymentButton||{isStorefrontPortableWallets:!0,init:function(){window.Shopify.PaymentButton.init=function(){};var t=document.createElement("script");t.src="https://goodtimebrewing.com/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js",t.type="module",document.head.appendChild(t)}}; 145</script>
vendor: 1 bytes, line 145
145
146<script data-source-attribution="shopify.dynamic_checkout.buyer_consent"> 147 function portableWalletsHideBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.add("hidden"),t.setAttribute("aria-hidden","true"),n.removeEventListener("click",e))}function portableWalletsShowBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.remove("hidden"),t.removeAttribute("aria-hidden"),n.addEventListener("click",e))}window.Shopify?.PaymentButton&&(window.Shopify.PaymentButton.hideBuyerConsent=portableWalletsHideBuyerConsent,window.Shopify.PaymentButton.showBuyerConsent=portableWalletsShowBuyerConsent); 148</script>
vendor: 1 bytes, line 148
148
149<script data-source-attribution="shopify.dynamic_checkout.cart.bootstrap">document.addEventListener("DOMContentLoaded",(function(){function t(){return document.querySelector("shopify-accelerated-checkout-cart, shopify-accelerated-checkout")}if(t())Shopify.PaymentButton.init();else{new MutationObserver((function(e,n){t()&&(Shopify.PaymentButton.init(),n.disconnect())})).observe(document.body,{childList:!0,subtree:!0})}})); 150</script>
vendor: 1 bytes, line 150
150
151<script id='scb4127' type='text/javascript' async='' src='https://goodtimebrewing.com/cdn/shopifycloud/privacy-banner/storefront-banner.js'></script>
151<script integrity="sha256-/LA1C2Bx6899fYCos0FS9qLj2opaGFm7AXrTUvBEb4s=" data-source-attribution="shopify.remote_product_tracking" data-shopify-remote-tracking="{"publisher_shop_id":73732325665,"theme_id":176280895777,"theme_published":true,"theme_store_id":887,"placement":"collection","event_data":{"handle":"journal","page_type":"blog"},"recommendations_tracking_enabled":true}" defer="defer" src="//goodtimebrewing.com/cdn/shopifycloud/storefront/assets/storefront/remote_product_tracking-91d95044.js" crossorigin="anonymous"></script>
151 152<link id="shopify-accelerated-checkout-styles" rel="stylesheet" media="screen" href="https://goodtimebrewing.com/cdn/shopifycloud/portable-wallets/latest/accelerated-checkout-backwards-compat.css" crossorigin="anonymous"> 153<style id="shopify-accelerated-checkout-cart"> 154 #shopify-buyer-consent { 155 margin-top: 1em; 156 display: inline-block; 157 width: 100%; 158} 159 160#shopify-buyer-consent.hidden { 161 display: none; 162} 163 164#shopify-subscription-policy-button { 165 background: none; 166 border: none; 167 padding: 0; 168 text-decoration: underline; 169 font-size: inherit; 170 cursor: pointer; 171} 172 173#shopify-subscription-policy-button::before { 174 box-shadow: none; 175} 176 177 </style> 178
179<script id="shopify-cfh-end">window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
179 180 181 182 <style data-shopify> 183 @font-face { 184 font-family: Nunito; 185 font-weight: 300; 186 font-style: normal; 187 font-display: swap; 188 src: url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_n3.c1d7c2242f5519d084eafc479d7cc132bcc8c480.woff2") format("woff2"), 189 url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_n3.d543cae3671591d99f8b7ed9ea9ca8387fc73b09.woff") format("woff"); 190} 191 192 @font-face { 193 font-family: Nunito; 194 font-weight: 700; 195 font-style: normal; 196 font-display: swap; 197 src: url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_n7.37cf9b8cf43b3322f7e6e13ad2aad62ab5dc9109.woff2") format("woff2"), 198 url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_n7.45cfcfadc6630011252d54d5f5a2c7c98f60d5de.woff") format("woff"); 199} 200 201 @font-face { 202 font-family: Nunito; 203 font-weight: 300; 204 font-style: italic; 205 font-display: swap; 206 src: url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_i3.11db3ddffd5485d801b7a5d8a24c3b0e446751f1.woff2") format("woff2"), 207 url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_i3.7f37c552f86f3fb4c0aae0353840b033f9f464a0.woff") format("woff"); 208} 209 210 @font-face { 211 font-family: Nunito; 212 font-weight: 700; 213 font-style: italic; 214 font-display: swap; 215 src: url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_i7.3f8ba2027bc9ceb1b1764ecab15bae73f86c4632.woff2") format("woff2"), 216 url("//goodtimebrewing.com/cdn/fonts/nunito/nunito_i7.82bfb5f86ec77ada3c9f660da22064c2e46e1469.woff") format("woff"); 217} 218 219 @font-face { 220 font-family: Assistant; 221 font-weight: 400; 222 font-style: normal; 223 font-display: swap; 224 src: url("//goodtimebrewing.com/cdn/fonts/assistant/assistant_n4.9120912a469cad1cc292572851508ca49d12e768.woff2") format("woff2"), 225 url("//goodtimebrewing.com/cdn/fonts/assistant/assistant_n4.6e9875ce64e0fefcd3f4446b7ec9036b3ddd2985.woff") format("woff"); 226} 227 228 229 :root { 230 --font-body-family: Nunito, sans-serif; 231 --font-body-style: normal; 232 --font-body-weight: 300; 233 --font-body-weight-bold: 600; 234 235 --font-heading-family: Assistant, sans-serif; 236 --font-heading-style: normal; 237 --font-heading-weight: 400; 238 239 --font-body-scale: 1.0; 240 --font-heading-scale: 1.0; 241 242 --color-base-text: 42, 80, 44; 243 --color-shadow: 42, 80, 44; 244 --color-base-background-1: 255, 252, 248; 245 --color-base-background-2: 243, 243, 243; 246 --color-base-solid-button-labels: 255, 255, 255; 247 --color-base-outline-button-labels: 18, 18, 18; 248 --color-base-accent-1: 18, 18, 18; 249 --color-base-accent-2: 51, 79, 180; 250 --payment-terms-background-color: #fffcf8; 251 252 --gradient-base-background-1: #fffcf8; 253 --gradient-base-background-2: #f3f3f3; 254 --gradient-base-accent-1: #121212; 255 --gradient-base-accent-2: #334fb4; 256 257 --media-padding: px; 258 --media-border-opacity: 0.05; 259 --media-border-width: 1px; 260 --media-radius: 0px; 261 --media-shadow-opacity: 0.0; 262 --media-shadow-horizontal-offset: 0px; 263 --media-shadow-vertical-offset: 4px; 264 --media-shadow-blur-radius: 5px; 265 --media-shadow-visible: 0; 266 267 --page-width: 120rem; 268 --page-width-margin: 0rem; 269 270 --product-card-image-padding: 0.0rem; 271 --product-card-corner-radius: 0.0rem; 272 --product-card-text-alignment: left; 273 --product-card-border-width: 0.0rem; 274 --product-card-border-opacity: 0.1; 275 --product-card-shadow-opacity: 0.0; 276 --product-card-shadow-visible: 0; 277 --product-card-shadow-horizontal-offset: 0.0rem; 278 --product-card-shadow-vertical-offset: 0.4rem; 279 --product-card-shadow-blur-radius: 0.5rem; 280 281 --collection-card-image-padding: 0.0rem; 282 --collection-card-corner-radius: 0.0rem; 283 --collection-card-text-alignment: left; 284 --collection-card-border-width: 0.0rem; 285 --collection-card-border-opacity: 0.1; 286 --collection-card-shadow-opacity: 0.0; 287 --collection-card-shadow-visible: 0; 288 --collection-card-shadow-horizontal-offset: 0.0rem; 289 --collection-card-shadow-vertical-offset: 0.4rem; 290 --collection-card-shadow-blur-radius: 0.5rem; 291 292 --blog-card-image-padding: 0.0rem; 293 --blog-card-corner-radius: 0.0rem; 294 --blog-card-text-alignment: left; 295 --blog-card-border-width: 0.0rem; 296 --blog-card-border-opacity: 0.1; 297 --blog-card-shadow-opacity: 0.0; 298 --blog-card-shadow-visible: 0; 299 --blog-card-shadow-horizontal-offset: 0.0rem; 300 --blog-card-shadow-vertical-offset: 0.4rem; 301 --blog-card-shadow-blur-radius: 0.5rem; 302 303 --badge-corner-radius: 4.0rem; 304 305 --popup-border-width: 1px; 306 --popup-border-opacity: 0.1; 307 --popup-corner-radius: 0px; 308 --popup-shadow-opacity: 0.0; 309 --popup-shadow-horizontal-offset: 0px; 310 --popup-shadow-vertical-offset: 4px; 311 --popup-shadow-blur-radius: 5px; 312 313 --drawer-border-width: 1px; 314 --drawer-border-opacity: 0.1; 315 --drawer-shadow-opacity: 0.0; 316 --drawer-shadow-horizontal-offset: 0px; 317 --drawer-shadow-vertical-offset: 4px; 318 --drawer-shadow-blur-radius: 5px; 319 320 --spacing-sections-desktop: 0px; 321 --spacing-sections-mobile: 0px; --grid-desktop-vertical-spacing: 8px; --grid-desktop-horizontal-spacing: 8px; 322 --grid-mobile-vertical-spacing: 4px; 323 --grid-mobile-horizontal-spacing: 4px; 324 --text-boxes-border-opacity: 0.1; 325 --text-boxes-border-width: 0px; --text-boxes-radius: 0px; --text-boxes-shadow-opacity: 0.0; --text-boxes-shadow-visible: 1; 326 --text-boxes-shadow-horizontal-offset: 0px; 327 --text-boxes-shadow-vertical-offset: 4px; 328 --text-boxes-shadow-blur-radius: 5px; 329 330 --buttons-radius: 0px; 331 --buttons-radius-outset: 0px; 332 --buttons-border-width: 1px; 333 --buttons-border-opacity: 1.0; 334 --buttons-shadow-opacity: 0.0; 335 --buttons-shadow-visible: 0; 336 --buttons-shadow-horizontal-offset: 0px; 337 --buttons-shadow-vertical-offset: 4px; 338 --buttons-shadow-blur-radius: 5px; 339 --buttons-border-offset: 0px; 340 341 --inputs-radius: 0px; 342 --inputs-border-width: 1px; 343 --inputs-border-opacity: 0.55; 344 --inputs-shadow-opacity: 0.0; 345 --inputs-shadow-horizontal-offset: 0px; 346 --inputs-margin-offset: 0px; 347 --inputs-shadow-vertical-offset: 4px; 348 --inputs-shadow-blur-radius: 5px; 349 --inputs-radius-outset: 0px; 350 351 --variant-pills-radius: 40px; 352 --variant-pills-border-width: 1px; 353 --variant-pills-border-opacity: 0.55; 354 --variant-pills-shadow-opacity: 0.0; 355 --variant-pills-shadow-horizontal-offset: 0px; 356 --variant-pills-shadow-vertical-offset: 4px; 357 --variant-pills-shadow-blur-radius: 5px; 358 } 359 360 *, 361 *::before, 362 *::after { 363 box-sizing: inherit; 364 } 365 366 html { 367 box-sizing: border-box; 368 font-size: calc(var(--font-body-scale) * 62.5%); 369 height: 100%; 370 } 371 372 body { 373 display: grid; 374 grid-template-rows: auto auto 1fr auto; 375 grid-template-columns: 100%; 376 min-height: 100%; 377 margin: 0; 378 font-size: 1.5rem; 379 letter-spacing: 0.06rem; 380 line-height: calc(1 + 0.8 / var(--font-body-scale)); 381 font-family: var(--font-body-family); 382 font-style: var(--font-body-style); 383 font-weight: var(--font-body-weight); 384 } 385 .border-btn, 386 .primary-btn { 387 display: inline-block; 388 text-align: center; 389 font-size: 30px; 390 line-height: 1; 391 font-weight: 700; 392 color: #fff; 393 -webkit-border-radius: 40px; 394 border-radius: 40px; 395 white-space: nowrap; 396 text-transform: uppercase; 397 } 398 399 .updated-btn { 400 display: inline-block; 401 text-align: center; 402 font-size: 30px; 403 line-height: 1; 404 font-weight: 700; 405 color: #fff; 406 -webkit-border-radius: 40px; 407 border-radius: 40px; 408 white-space: nowrap; 409 text-transform: uppercase; 410 } 411 412 .border-btn:disabled, 413 .primary-btn:disabled {
414 cursor: not-allowed 415 } 416 417 .primary-btn { 418 padding: 9px 49px 13px; 419 background-color: #2a502c; 420 text-transform: uppercase; 421 } 422 423 .updated-btn { 424 padding: 9px 49px 9px; 425 background-color: #2a502c; 426 text-transform: uppercase; 427 } 428 429 .primary-btn:hover { 430 background-color: #437d3a 431 } 432 433 .border-btn { 434 border: 1px solid #2a502c; 435 padding: 8px 48px 12px; 436 color: #2a502c; 437 text-transform: uppercase; 438 } 439 440 .border-btn:hover { 441 background-color: #2a502c; 442 border-color: #2a502c; 443 color: #fff 444 } 445 446 .border-btn-white { 447 border-color: #fff; 448 color: #fff 449 } 450 451 .border-btn-white:hover { 452 background-color: #fff; 453 } 454 #home-learn-more-btn:hover { 455 background-color: #DCB14C !important; 456 } 457 #home-find-us-btn:hover { 458 background-color: #437d3a !important; 459 } 460 461 @media screen and (min-width: 750px) { 462 body { 463 font-size: 1.6rem; 464 } 465 } 466 </style> 467 468 <link href="//goodtimebrewing.com/cdn/shop/t/55/assets/new-main.css?v=99137870128218785601738868799" rel="stylesheet" type="text/css" media="all" /> 469 <link href="//goodtimebrewing.com/cdn/shop/t/55/assets/base.css?v=100018796524032848531738633420" rel="stylesheet" type="text/css" media="all" /> 470<link rel="preload" as="font" href="//goodtimebrewing.com/cdn/fonts/nunito/nunito_n3.c1d7c2242f5519d084eafc479d7cc132bcc8c480.woff2" type="font/woff2" crossorigin><link rel="preload" as="font" href="//goodtimebrewing.com/cdn/fonts/assistant/assistant_n4.9120912a469cad1cc292572851508ca49d12e768.woff2" type="font/woff2" crossorigin> 471 472
472<script>document.documentElement.className = document.documentElement.className.replace('no-js', 'js'); 473 if (Shopify.designMode) { 474 document.documentElement.classList.add('shopify-design-mode'); 475 } 476 </script>
476 477 478 479 480 481 <meta name=ârobotsâ content=ânoindexâ> 482 483 484 485 486 487 488 489 490 491<!-- BEGIN app block: shopify://apps/klaviyo-email-marketing-sms/blocks/klaviyo-onsite-embed/2632fe16-c075-4321-a88b-50b567f42507 --> 492 493 494 495 496 497 498 499 500 501 502 503 504
504<script async src="https://static.klaviyo.com/onsite/js/UBYvkR/klaviyo.js?company_id=UBYvkR"></script>
504 505
505<script>!function(){if(!window.klaviyo){window._klOnsite=window._klOnsite||[];try{window.klaviyo=new Proxy({},{get:function(n,i){return"push"===i?function(){var n;(n=window._klOnsite).push.apply(n,arguments)}:function(){for(var n=arguments.length,o=new Array(n),w=0;w<n;w++)o[w]=arguments[w];var t="function"==typeof o[o.length-1]?o.pop():void 0,e=new Promise((function(n){window._klOnsite.push([i].concat(o,[function(i){t&&t(i),n(i)}]))}));return e}}})}catch(n){window.klaviyo=window.klaviyo||[],window.klaviyo.push=function(){var n;(n=window._klOnsite).push.apply(n,arguments)}}}}();</script>
505 506 507 508 509 510 511 512
512<script> 513 window.klaviyoReviewsProductDesignMode = false 514 </script>
514 515 516 517 518 519 520 521 522 523 524<!-- END app block --><link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
525<script>(function(){if ("sendBeacon" in navigator && "performance" in window) {try {var session_token_from_headers = performance.getEntriesByType('navigation')[0].serverTiming.find(x => x.name == '_s').description;} catch {var session_token_from_headers = undefined;}var session_cookie_matches = document.cookie.match(/_shopify_s=([^;]*)/);var session_token_from_cookie = session_cookie_matches && session_cookie_matches.length === 2 ? session_cookie_matches[1] : "";var session_token = session_token_from_headers || session_token_from_cookie || "";function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 73732325665,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token,page_type: "blog"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
vendor: 1 bytes, line 525
525
526<script> 527 window.__TREKKIE_SHIM_QUEUE = window.__TREKKIE_SHIM_QUEUE || []; 528</script>
vendor: 1 bytes, line 528
528
529<script>(function(){var wpmLoader=function(){"use strict";var e=/Googlebot|Storebot-Google|bingbot|Baiduspider|YandexBot|DuckDuckBot|Slurp|facebookexternalhit|Twitterbot|LinkedInBot|Applebot|AdsBot-Google|Mediapartners-Google|APIs-Google|PetalBot|SemrushBot|AhrefsBot|MJ12bot|DotBot|Acunetix|PerplexityBot|Perplexity-User/i,t=/bytedance/i;function i(){try{var e=document.cookie;if(!e||"string"!=typeof e)return;for(var t=0,i=e.split(";");t<i.length;t++){var n=i[t],r=n.indexOf("=");if(-1!==r){var o=n.slice(0,r).trim();if(o){var a=void 0;try{a=decodeURIComponent(o)}catch(e){a=o}if("_shopify_s"===a){var d=n.slice(r+1).trim();try{return decodeURIComponent(d)}catch(e){return d}}}}}return}catch(e){return}}function n(e){try{"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)}catch(e){}}function r(e,t){return"string"==typeof e&&e.length>0&&e.length<=t?e:void 0}function o(e){var t;switch(null==(t=null==e?void 0:e.navigation)?void 0:t.type){case 0:return"navigate";case 1:return"reload";case 2:return"back_forward";default:return}}function a(){var e,t,i;try{var n=null==(i=null==(t=null==(e=self.ShopifyAnalytics)?void 0:e.lib)?void 0:t.trekkie)?void 0:i.state;return"awaiting-consent"===n||"initialized"===n?n:void 0}catch(e){return}}return function(d,s,u,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{var p=c.trekkieShim;!0!==p&&"true"!==p||null!=window.__TREKKIE_SHIM_QUEUE||(window.__TREKKIE_SHIM_QUEUE=[])}catch(e){}var f,v,h,y,g=(v=(f={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/}).modern,h=f.legacy,(y=navigator.userAgent).match(e)?"bot":y.match(v)?"modern":y.match(h)?"legacy":y.match(t)?"bot":"unknown"),m=function(e){var t,i,n=r(e,128);try{var a=window.performance,d=null==(t=null==a?void 0:a.getEntriesByType)?void 0:t.call(a,"navigation")[0];if(!d)return{requestId:n,navigationType:o(a)};var s="type"in d?r(d.type,64):void 0,u="serverTiming"in d&&Array.isArray(d.serverTiming)?d.serverTiming:[];return{requestId:null!=n?n:r(null==(i=u.find(function(e){return"requestID"===e.name}))?void 0:i.description,128),navigationType:s}}catch(e){return{requestId:n}}}(c.requestId),w=function(e){var t=e.version,r=e.browserTarget,o=e.surface,a=e.shopId,d=e.monorailEndpoint,s=window.location.href;return{emit:function(e){var u=e.status,l=e.errorMsg,c=e.failureReason,p=e.useKeepaliveFallback,f=void 0!==p&&p,v=e.navigationType,h=e.pagehidePersisted,y=e.requestId,g=e.trekkieState;if(d){var m,w;try{var b=(new Date).getTime();m=JSON.stringify({metadata:{event_sent_at_ms:b},events:[{schema_id:"web_pixels_manager_load/3.3",payload:{version:t,bundle_target:r,page_url:s,status:u,surface:o,error_msg:l,failure_reason:c,navigation_type:v,pagehide_persisted:h,request_id:y,trekkie_state:g,shop_id:a,visit_token:i()},metadata:{event_created_at_ms:b}}]})}catch(e){return}try{if("function"==typeof window.navigator.sendBeacon&&-1===(w=window.navigator.userAgent).indexOf("iPhone; CPU iPhone OS 12_")&&-1===w.indexOf("iPad; CPU OS 12_")&&-1===w.indexOf("iPod touch; CPU iPhone OS 12_")&&window.navigator.sendBeacon.bind(window.navigator)(d,m))return}catch(e){}if(f)try{"function"==typeof window.fetch&&window.fetch(d,{method:"POST",headers:{"Content-Type":"text/plain"},body:m,keepalive:!0}
529).catch(function(){})}catch(e){}else try{var _=new XMLHttpRequest;_.open("POST",d,!0),_.setRequestHeader("Content-Type","text/plain"),_.send(m)}catch(e){n("[Web Pixels Manager] Got an unhandled error while logging to Monorail.")}}else n("[Web Pixels Manager] No Monorail endpoint provided, skipping logging.")}}}({version:u,browserTarget:g,surface:d.surface,shopId:d.shopId,monorailEndpoint:d.monorailEndpoint});if(Boolean(null==(_=null==(b=window.Shopify)?void 0:b.analytics)?void 0:_.replayQueue))w.emit({status:"setup-skipped",errorMsg:"replay queue already initialized."});else{var b,_;w.emit({status:"setup-started"}),window.Shopify=window.Shopify||{};var S=window.Shopify;S.analytics=S.analytics||{};var P=S.analytics;P.replayQueue=[],P.publish=function(e,t,i){return P.replayQueue.push([e,t,i]),!0};try{self.performance.mark("wpm:start")}catch(e){}var k,C="modern"===g?"modern":"legacy",E=(null!=l?l:{modern:"",legacy:""})[C],I=[(k={baseUrl:s,hashVersion:u,buildTarget:C}).baseUrl,"/wpm","/b",k.hashVersion,"modern"===k.buildTarget?"m":"l",".js"].join(""),O=!1,T=!1;try{c.browserTarget=g,function(){O=!0;try{window.addEventListener("pagehide",M)}catch(e){O=!1}}(),R(function(){try{R(x)}catch(e){D(e)}}),w.emit({status:"loading",requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()})}catch(e){D(e)}}function U(){var e;if(q(),!function(){var e,t;return Boolean(null==(t=null==(e=window.Shopify)?void 0:e.analytics)?void 0:t.initialized)}()){var t,i,n;try{if("function"!=typeof(null==(e=window.webPixelsManager)?void 0:e.init))return void A();if(!(null!==(n=i=t=window.webPixelsManager.init(d))&&"function"!=typeof n&&Object(n)===n&&"publish"in i&&"function"==typeof i.publish&&"publishCustomEvent"in i&&"function"==typeof i.publishCustomEvent&&"visitor"in i&&"function"==typeof i.visitor))return void A()}catch(e){return void A(e)}var r=window.Shopify.analytics;r.replayQueue.forEach(function(e){var i=e[0],n=e[1],r=e[2];t.publishCustomEvent(i,n,r)}),r.replayQueue=[],r.publish=t.publishCustomEvent,r.visitor=t.visitor,r.initialized=!0}}function A(e){B("manager_api_unavailable",void 0===e?void 0:Q(e))}function x(){B("script_load_failed","".concat(I," has failed to load"))}function B(e,t){T||(T=!0,q(),w.emit({status:"failed",errorMsg:t,failureReason:e,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function M(e){O&&(q(),w.emit({status:"pagehide-while-loading",useKeepaliveFallback:!0,pagehidePersisted:e.persisted,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function q(){O=!1;try{window.removeEventListener("pagehide",M)}catch(e){}}function R(e){var t;!function(e){var t=e.src,i=e.async,n=void 0===i||i,r=e.onload,o=e.onerror,a=e.sri,d=e.scriptDataAttributes,s=void 0===d?{}:d,u=document.createElement("script"),l=document.querySelector("head"),c=document.querySelector("body");if(u.async=n,u.src=t,a&&(u.integrity=a,u.crossOrigin="anonymous"),s)for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))try{u.dataset[p]=String(s[p])}catch(e){}if(r&&u.addEventListener("load",r),o&&u.addEventListener("error",o),l)l.appendChild(u);else{if(!c)throw new Error("Did not find a head or body element to append the script");c.appendChild(u)}}({src:I,async:!0,onload:U,onerror:e,sri:(t=E,"string"==typeof t&&/^sha384-[A-Za-z0-9+/=]+$/.test(t)?E:""),scriptDataAttributes:c})}function D(e){B("script_append_failed",Q(e))}function Q(e){return e instanceof Error?e.message:"Unknown error"}}}();wpmLoader({shopId: 73732325665,storefrontBaseUrl: "https://goodtimebrewing.com",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",monorailEndpoint: "https://goodtimebrewing.com/.well-known/shopify/monorail/unstable/produce_batch",surface: "storefront-renderer",enabledBetaFlags: ["4c64608a","16072cab","8450a54b"],webPixelsConfigList: [{"id":"2135589153","configuration":"{\"accountID\":\"UBYvkR\",\"webPixelConfig\":\"eyJlbmFibGVBZGRlZFRvQ2FydEV2ZW50cyI6IHRydWV9\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"c63c5b72c8d77be5f2d27d14c081da38","type":"APP","apiClientId":123074,"privacyPurposes":["ANALYTICS","MARKETING"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"784040225","configuration":"{\"config\":\"{\\\"google_tag_ids\\\":[\\\"G-QRMHK113S0\\\",\\\"GT-KFT259R8\\\"],\\\"target_country\\\":\\\"US\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"search\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"begin_checkout\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"remove_from_cart\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":[\\\"G-QRMHK113S0\\\",\\\"MC-P0TQ65JQBQ\\\"]},{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":[\\\"G-QRMHK113S0\\\",\\\"MC-P0TQ65JQBQ\\\"]},{\\\"type\\\":\\\"add_shipping_info\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":[\\\"G-QRMHK113S0\\\",\\\"MC-P0TQ65JQBQ\\\"]},{\\\"type\\\":\\\"view_item_list\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"add_payment_info\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"add_to_cart\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"},{\\\"type\\\":\\\"view_cart\\\",\\\"action_label\\\":\\\"G-QRMHK113S0\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"a3321ca85cf5aaf6b57585fcd8d67b3a","type":"APP","apiClientId":1780363,"privacyPurposes":[],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"455934241","configuration":"{\"tagID\":\"2613371675111\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"7ae565e198624b39e0856d352b9a6b4c","type":"APP","apiClientId":3009811,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"415924513","configuration":"{\"pixel_id\":\"1337744166873267\",\"pixel_type\":\"facebook_pixel\",\"metaapp_system_user_token\":\"-\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"bd2f978c17a94bbb8a74d43de2165dc5","type":"APP","apiClientId":2329312,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,initData: {"shop":{"name":"Good Time Brewing ","paymentSettings":{"currencyCode":"USD"},"myshopifyDomain":"good-time-brewing.myshopify.com","countryCode":"US","storefrontUrl":"https:\/\/goodtimebrewing.com"},"customer":null,"cart":null,"checkout":null,"productVariants":[],"products":[],"purchasingCompany":null},},"https://goodtimebrewing.com/cdn","7ec887c8w14f9f074p854094e1m1370c602",{"modern":"","legacy":""},{"trekkieShim":true,"agentContext":true,"apiClientId":"580111","facebookCapiEnabled":"true","themeId":"176280895777","themeStoreId":"887","themePublished":"true","eventMetadataId":"0f7a32d4-2439-499a-b70a-07a76d652455","pageType":"blog","resourceId":"111207088417","shopId":"73732325665","storefrontBaseUrl":"https:\/\/goodtimebrewing.com","extensionBaseUrl":"https:\/\/extensions.shopifycdn.com\/cdn\/shopifycloud\/web-pixels-manager","surface":"storefront-renderer","enabledBetaFlags":"[\"4c64608a\", \"16072cab\", \"8450a54b\"]","isMerchantRequest":"false","hashVersion":"7ec887c8w14f9f074p854094e1m1370c602","publish":"custom","events":"[[\"page_viewed\",{}]]"});})();</script>
529<script> 530 window.ShopifyAnalytics = window.ShopifyAnalytics || {}; 531 window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {}; 532 window.ShopifyAnalytics.meta.currency = 'USD'; 533 var meta = {"page":{"pageType":"blog","resourceType":"blog","resourceId":111207088417,"requestId":"4bfe553f-131a-458e-b58f-596d77beb8d2-1791461193"}}; 534 for (var attr in meta) { 535 window.ShopifyAnalytics.meta[attr] = meta[attr]; 536 } 537</script>
vendor: 1 bytes, line 537
537
538<script class="analytics"> 539 (function () { 540 var customDocumentWrite = function(content) { 541 var jquery = null; 542 543 if (window.jQuery) { 544 jquery = window.jQuery; 545 } else if (window.Checkout && window.Checkout.$) { 546 jquery = window.Checkout.$; 547 } 548 549 if (jquery) { 550 jquery('body').append(content); 551 } 552 }; 553 554 var hasLoggedConversion = function(token) { 555 if (token) { 556 return document.cookie.indexOf('loggedConversion=' + token) !== -1; 557 } 558 return false; 559 } 560 561 var setCookieIfConversion = function(token) { 562 if (token) { 563 var twoMonthsFromNow = new Date(Date.now()); 564 twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2); 565 566 document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow; 567 } 568 } 569 570 var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || []; 571 window.ShopifyAnalytics.lib.trekkie = window.trekkie; 572 if (trekkie.integrations) { 573 return; 574 } 575 trekkie.methods = [ 576 'identify', 577 'page', 578 'ready', 579 'track', 580 'trackForm', 581 'trackLink' 582 ]; 583 trekkie.factory = function(method) { 584 return function() { 585 var args = Array.prototype.slice.call(arguments); 586 args.unshift(method); 587 trekkie.push(args); 588 if (method == 'track' || method == 'page') { 589 var pageUrl; 590 try { 591 pageUrl = window.location.href; 592 } catch (e) {} 593 var pageReferrer; 594 try { 595 pageReferrer = document.referrer; 596 } catch (e) {} 597 try { 598 if (window.__TREKKIE_SHIM_QUEUE == null) { 599 window.__TREKKIE_SHIM_QUEUE = []; 600 } 601 window.__TREKKIE_SHIM_QUEUE.push({ 602 from: 'trekkie-stub', 603 method: method, 604 args: args.slice(1), 605 pageContext: { 606 url: pageUrl, 607 referrer: pageReferrer 608 } 609 }); 610 } catch (e) { 611 // no-op 612 } 613 } 614 return trekkie; 615 }; 616 }; 617 for (var i = 0; i < trekkie.methods.length; i++) { 618 var key = trekkie.methods[i]; 619 trekkie[key] = trekkie.factory(key); 620 } 621 trekkie.load = function(config) { 622 trekkie.config = config || {}; 623 trekkie.config.initialDocumentCookie = document.cookie; 624 var first = document.getElementsByTagName('script')[0]; 625var script = document.createElement('script'); 626script.type = 'text/javascript'; 627script.onerror = function(e) { 628 var scriptFallback = document.createElement('script'); 629 scriptFallback.type = 'text/javascript'; 630 scriptFallback.onerror = function(error) { 631 var Monorail = { 632 produce: function produce(monorailDomain, schemaId, payload) { 633 var currentMs = new Date().getTime(); 634 var event = { 635 schema_id: schemaId, 636 payload: payload, 637 metadata: { 638 event_created_at_ms: currentMs, 639 event_sent_at_ms: currentMs 640 } 641 }; 642 return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event)); 643 }, 644 sendRequest: function sendRequest(endpointUrl, payload) { 645 // Try the sendBeacon API 646 if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) { 647 var blobData = new window.Blob([payload], { 648 type: 'text/plain' 649 }); 650 651 if (window.navigator.sendBeacon(endpointUrl, blobData)) { 652 return true; 653 } // sendBeacon was not successful 654 655 } // XHR beacon 656 657 var xhr = new XMLHttpRequest(); 658 659 try { 660 xhr.open('POST', endpointUrl); 661 xhr.setRequestHeader('Content-Type', 'text/plain'); 662 xhr.send(payload); 663 } catch (e) { 664 console.log(e); 665 } 666 667 return false; 668 }, 669 isIos12: function isIos12() { 670 return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1; 671 } 672 }; 673 Monorail.produce('monorail-edge.shopifysvc.com', 674 'trekkie_storefront_load_errors/1.1', 675 {shop_id: 73732325665, 676 theme_id: 176280895777, 677 app_name: "storefront", 678 context_url: window.location.href, 679 source_url: "//goodtimebrewing.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js"}); 680 681 }; 682 scriptFallback.async = true; 683 scriptFallback.src = '//goodtimebrewing.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js'; 684 first.parentNode.insertBefore(scriptFallback, first); 685}; 686script.async = true; 687script.src = '//goodtimebrewing.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js'; 688first.parentNode.insertBefore(script, first); 689 690 }; 691 trekkie.load( 692 {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":73732325665,"isMerchantRequest":null,"themeId":176280895777,"themeCityHash":"5916485097392035751","contentLanguage":"en","currency":"USD","eventMetadataId":"0f7a32d4-2439-499a-b70a-07a76d652455"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain","enabledBetaFlags":["764d78cb","8450a54b","4c64608a"]},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"source":"trekkie-storefront-renderer","apiClientId":580111}} 693 ); 694 695 var loaded = false;
696 trekkie.ready(function() { 697 if (loaded) return; 698 loaded = true; 699 700 window.ShopifyAnalytics.lib = window.trekkie; 701 702 var originalDocumentWrite = document.write; 703 document.write = customDocumentWrite; 704 try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {}; 705 document.write = originalDocumentWrite; 706 707 var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/) 708 var token = match? match[1]: undefined; 709 if (!hasLoggedConversion(token)) { 710 setCookieIfConversion(token); 711 712 } 713 }); 714 715 window.ShopifyAnalytics.lib.page(null,{"pageType":"blog","resourceType":"blog","resourceId":111207088417,"requestId":"4bfe553f-131a-458e-b58f-596d77beb8d2-1791461193","shopifyEmitted":true}); 716 717 var eventsListenerScript = document.createElement('script'); 718 eventsListenerScript.async = true; 719 eventsListenerScript.src = "//goodtimebrewing.com/cdn/shopifycloud/storefront/assets/shop_events_listener-4e26a9ce.js"; 720 document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); 721})();</script>
vendor: 1 bytes, line 721
721
722<script 723 defer 724 src="https://goodtimebrewing.com/cdn/shopifycloud/perf-kit/shopify-perf-kit-3.10.0.min.js" 725 data-application="storefront-renderer" 726 data-shop-id="73732325665" 727 data-render-region="gcp-us-central1" 728 data-page-type="blog" 729 data-theme-instance-id="176280895777" 730 data-theme-name="Dawn" 731 data-theme-version="9.0.0" 732 data-monorail-region="shop_domain" 733 data-resource-timing-sampling-rate="10" 734 data-shs="true" 735 data-shs-beacon="true" 736 data-shs-export-with-fetch="true" 737 data-shs-logs-sample-rate="1" 738 data-shs-beacon-endpoint="https://goodtimebrewing.com/api/collect" 739></script>
739 740<meta name="shopify-y" content="00000000-0000-0000-5000-000000000000" data-expiration="1823018793000"><meta name="shopify-s" content="00000000-0000-0000-5000-000000000000" data-expiration="1791462993000"><meta name="new-cookie-storage-activated" content="t"> 741</head> 742 743<body class="gradient"> 744 <a class="skip-to-content-link button visually-hidden header-link" href="#header"> 745 Header 746 </a> 747 <a class="skip-to-content-link button visually-hidden" href="#MainContent"> 748 Skip to content 749 </a> 750 <a class="skip-to-content-link button visually-hidden footer-link" href="#footer"> 751 Footer 752 </a> 753 754 <div id="shopify-section-gtb-header-drop" class="shopify-section"><a class="notif-bar-link" style="color: white;" href="/collections/non-alcoholic-beers/products/ipa"> 755 <div class="dry-jan-banner" id="dry-jan-first"> 756 FREE SHIPPING ON ORDERS $50+ 757 758 </div> 759</a> 760<div class="dry-jan-banner" id="dry-jan-placeholder"> 761 FREE SHIPPING ON ORDERS $50+ 762 </div> 763<header id = "header" class="header"> 764 <div class="wrapper" id="header"> 765 <div class="header-menu"> 766 <ul id="header-list" role="menu"> 767 <div id="left-side-menu"> 768 <li id = "shop-element"><a id="shop-link" class="menu-title" href="/collections/non-alcoholic-beers">Shop <span id = "mobile-chev"><svg style="padding-top: 10px; margin-right: -15px; position: relative;" fill="#2a502c" width="30px" height="30px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"/></svg></span></a> 769 <ul id = "shop-list"> 770 <li id = "shop-list-item"> 771 <a tabindex="0" aria-haspopup="true" aria-expanded="false" id="ipa-button" class="events-button" href="/collections/non-alcoholic-beers/products/ipa"> 772 <img loading="lazy" id="ipa-beer-icon" class="shop-beer-icon" src="https://cdn.shopify.com/s/files/1/0737/3232/5665/files/product-1.webp?v=1696595919"/> 773 <span> 774 <h2 class="beer-shortcut" id="IPA-shortcut">IPA</h2> 775 </span> 776 </a> 777 <a tabindex="0" id="pils-button" class="events-button" href="/collections/non-alcoholic-beers/products/pils"> 778 <img loading="lazy" class="shop-beer-icon" src="https://cdn.shopify.com/s/files/1/0737/3232/5665/files/product-2_e4e55aa2-00d3-4fab-b5d5-de50cc634b20.webp?v=1708538171"/> 779 <span> 780 <h2 class="beer-shortcut menu-title" id="IPA-shortcut">Pils</h2> 781 </span> 782 </a> 783 <a tabindex="0" id="wheat-button" class="events-button" href="/collections/non-alcoholic-beers/products/wheat"> 784 <img loading="lazy" class="shop-beer-icon" src="https://cdn.shopify.com/s/files/1/0737/3232/5665/files/product-3_8bab69b1-0f37-499c-b4bb-33a1ca5ab0ed.webp?v=1708536919"/> 785 <span> 786 <h2 class="beer-shortcut menu-title" id="IPA-shortcut">Wheat</h2> 787 </span> 788 </a> 789 </li> 790 </ul> 791 </li> 792 793 <li id="find-us-element"><a class="menu-title" aria-haspopup="true" id="find-us-link" href="/pages/find-us">Find Us</a> 794 795 </li> 796 </div> 797 <div id="header-logo"><a href="/"><img id="good-time-header-logo" src="//goodtimebrewing.com/cdn/shop/t/55/assets/gtb-green-logo.svg?v=90741665570226141201738633420" alt="Good Time Brewing's logo with a white font and no background. It reads 'Good Time Brewing Co. New York'"></a></div> 798 <div id = "right-side-menu">
799 <li class="menu-title" id="about-us-list-item"><a href="/pages/about-us">About</a></li> 800 801 <button onclick="document.getElementById('custom-cart-drawer').classList.add('visible-drawer');" id = 'cart-icon'> 802 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 101 101" id="cart-icon"><path d="M84.1 28.5c-.5-.6-1.2-.9-1.9-.9h-61v-8.8c0-1.3-1.1-2.4-2.4-2.4-1.3 0-2.4 1.1-2.4 2.4v50c0 1.3 1.1 2.4 2.4 2.4h2.8c-1.9 3.5-1.5 7.9 1.5 10.9 1.7 1.7 4 2.7 6.4 2.7s4.7-.9 6.4-2.7c1.7-1.7 2.7-4 2.7-6.4 0-1.6-.4-3.1-1.2-4.4h11.3c-1.9 3.5-1.5 7.9 1.5 10.9 1.7 1.7 4 2.7 6.4 2.7 2.4 0 4.7-.9 6.4-2.7 1.7-1.7 2.7-4 2.7-6.4 0-1.6-.4-3.1-1.2-4.4h3.1c1.3 0 2.4-1.1 2.4-2.4 0-1.3-1.1-2.4-2.4-2.4H21.2v-4.7h53c1.1 0 2-.7 2.3-1.8l8-29.3c.2-1 0-1.7-.4-2.3zM32.6 78.6c-1.6 1.6-4.5 1.6-6.1 0-1.7-1.7-1.7-4.4 0-6.1.8-.8 1.9-1.3 3.1-1.3 1.2 0 2.2.4 3.1 1.3.8.8 1.3 1.9 1.3 3.1s-.5 2.2-1.4 3zm27.2 0c-1.6 1.6-4.5 1.6-6.1 0-1.7-1.7-1.7-4.4 0-6.1.8-.8 1.9-1.3 3.1-1.3 1.2 0 2.2.4 3.1 1.3.8.8 1.3 1.9 1.3 3.1s-.5 2.2-1.4 3zm12.5-21.8H21.2V32.3H79l-6.7 24.5z"></path></svg> 803 804 </button> 805 </div> 806 </ul> 807 </div> 808 </div> 809 810 <div id="mobile-header-logo"><a href="/"><img id="good-time-header-logo" src="//goodtimebrewing.com/cdn/shop/t/55/assets/logo.webp?v=72300018165731684441738633420" alt="Good Time Brewing's logo with a white font and no background. It reads 'Good Time Brewing Co. New York'"></a></div> 811 <nav class="header-menu" id="mobile-header-menu"> 812 <ul id = "mobile-header-ul" role="menu" aria-label="submenu"> 813 <li class="mobile-header-link" id="shop-dropdown-link"> 814 <a href="/collections/non-alcoholic-beers" id = "shop-menu-title">Shop</a> 815 <label for="touch"> 816 <svg class="mobile-chev-down" style="padding-top: 5px; margin-right: -15px; position: relative;" fill="#2a502c" width="30px" height="30px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"/></svg> 817 </label> 818 819 <input type="checkbox" id="touch"> 820 <ul class="slide"> 821 <li class="shop-drop-item" id="mobile-events-dropdown-button"> 822 <a class="beer-mobile-link" href="/collections/non-alcoholic-beers/products/ipa">IPA</a> 823 </li> 824 <li class="shop-drop-item" id="mobile-events-dropdown-button"> 825 <a class="beer-mobile-link" href="/collections/non-alcoholic-beers/products/pils">Pils</a> 826 </li> 827 <li class="shop-drop-item" id="mobile-wheat-dropdown-button"> 828 <a class="beer-mobile-link" href="/collections/non-alcoholic-beers/products/wheat">Wheat</a> 829 </li> 830 </ul> 831 </li> 832 <li id="mobile-events-button"><a href="/pages/find-us">Find Us</a></li> 833 <li class="mobile-header-link"><a href="/pages/about-us">About</a></li> 834 </ul> 835 </nav> 836 <div class="mobile-header-right"> 837 <button onclick="document.getElementById('custom-cart-drawer').classList.add('visible-drawer');" class="mobile-cart-icon" id = 'cart-icon'> 838 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 101 101" id="cart-icon"><path d="M84.1 28.5c-.5-.6-1.2-.9-1.9-.9h-61v-8.8c0-1.3-1.1-2.4-2.4-2.4-1.3 0-2.4 1.1-2.4 2.4v50c0 1.3 1.1 2.4 2.4 2.4h2.8c-1.9 3.5-1.5 7.9 1.5 10.9 1.7 1.7 4 2.7 6.4 2.7s4.7-.9 6.4-2.7c1.7-1.7 2.7-4 2.7-6.4 0-1.6-.4-3.1-1.2-4.4h11.3c-1.9 3.5-1.5 7.9 1.5 10.9 1.7 1.7 4 2.7 6.4 2.7 2.4 0 4.7-.9 6.4-2.7 1.7-1.7 2.7-4 2.7-6.4 0-1.6-.4-3.1-1.2-4.4h3.1c1.3 0 2.4-1.1 2.4-2.4 0-1.3-1.1-2.4-2.4-2.4H21.2v-4.7h53c1.1 0 2-.7 2.3-1.8l8-29.3c.2-1 0-1.7-.4-2.3zM32.6 78.6c-1.6 1.6-4.5 1.6-6.1 0-1.7-1.7-1.7-4.4 0-6.1.8-.8 1.9-1.3 3.1-1.3 1.2 0 2.2.4 3.1 1.3.8.8 1.3 1.9 1.3 3.1s-.5 2.2-1.4 3zm27.2 0c-1.6 1.6-4.5 1.6-6.1 0-1.7-1.7-1.7-4.4 0-6.1.8-.8 1.9-1.3 3.1-1.3 1.2 0 2.2.4 3.1 1.3.8.8 1.3 1.9 1.3 3.1s-.5 2.2-1.4 3zm12.5-21.8H21.2V32.3H79l-6.7 24.5z"></path></svg> 839 840 </button> 841 <div class="header-bar">
842 <span></span> 843 </div> 844 </div> 845</header> 846</div> 847 848 849 <style> 850 .scroll-hidden { 851 overflow-y: hidden !important; 852 scrollbar-width: thin; 853 } 854 855 .visible-drawer { 856 display: flex !important; 857 } 858 859 #custom-cart-drawer { 860 height: 98dvh; 861 position: fixed; 862 width: 25vw; 863 background-color: white; 864 top: 1%; 865 right: 1%; 866 z-index: 1000; 867 display: none; 868 flex-direction: column; 869 justify-content: flex-start; 870 box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2); 871 border-radius: 15px; 872 width: 480px; 873 } 874 875 #custom-cart-drawer h1 { 876 font-weight: 600; 877 text-align: center; 878 margin: 0; 879 padding: 0; 880 color: #2a502c !important; 881 border-bottom: 2px solid white; 882 font-size: 24px; 883 text-transform: uppercase; 884 margin-top: -10px; 885 } 886 887 .spend-to-ship { 888 text-transform: uppercase; 889 width: 100%; 890 text-align: center; 891 font-weight: 600; 892 } 893 894 #custom-cart-drawer * { 895 color: #2a502c; 896 font-family: Eurostile; 897 } 898 899 #icon-close-drawer { 900 cursor: pointer; 901 margin: 10px 0 0 10px; 902 } 903 904 .draw-x-and-hdr { 905 height: 120px; 906 display: flex; 907 flex-direction: column; 908 justify-content: space-between; 909 padding: 0px; 910 background-color: #fff; 911 border-top-right-radius: 20px; 912 border-top-left-radius: 20px; 913 } 914 915 #cart-count { 916 font-weight: 300; 917 } 918 919 #icon-close-drawer:hover { 920 opacity: .8; 921 } 922 923 #drawer-prod-sect { 924 display: flex; 925 flex-direction: column; 926 justify-content: flex-start; 927 height: 75%; 928 scrollbar-width: none; 929 align-items: center; 930 overflow-y: scroll; 931 padding: 30px; 932 } 933 934 .draw-first-cont { 935 display: flex; 936 justify-content: flex-start; 937 width: 100%; 938 } 939 940 .draw-prod-price { 941 text-align: right !important; 942 font-weight: 600; 943 } 944 945 .draw-prod-price p { 946 font-family: Nunito-Regular !important; 947 font-weight: 600; 948 } 949 950 .ind-draw-prod { 951 display: flex; 952 align-items: flex-start; 953 padding-bottom: 15px; 954 width: 100%; 955 justify-content: space-between; 956 } 957 958 .draw-prod-image { 959 object-fit: contain; 960 height: 123px; 961 width: 123px; 962 } 963 964 .draw-prod-image img { 965 width: 100%; 966 height: 100%; 967 object-fit: contain; 968 padding: 15px; 969 } 970 971 .draw-prod-title { 972 display: flex; 973 justify-content: space-between; 974 padding-bottom: 20px; 975 align-items: flex-start; 976 } 977 978 .draw-prod-title p { 979 font-size: 20px; 980 font-weight: 600; 981 width: 75%; 982 } 983 984 .draw-price-total { 985 font-size: 30px; 986 text-transform: uppercase; 987 font-weight: 600; 988 text-align: center; 989 display: flex; 990 align-items: center; 991 justify-content: space-between; 992 width: 100%; 993 } 994 995 .draw-price-total * { 996 color: #2a502c !important; 997 } 998 999 .draw-original-price { 1000 text-decoration: line-through; 1001 } 1002 1003 .draw-checkout { 1004 text-transform: uppercase; 1005 font-weight: 600; 1006 font-size: 30px; 1007 text-align: center; 1008 margin-top: 10px; 1009 display: flex; 1010 justify-content: center; 1011 align-items: center; 1012 background-color: #2a502c; 1013 color: white !important; 1014 width: 100%; 1015 border-radius: 50px; 1016 padding: 10px 0; 1017 } 1018 1019 .draw-checkout:hover { 1020 background-color: #437d3a; 1021 color: white !important; 1022 cursor: pointer; 1023 } 1024 1025 .draw-quantity { 1026 text-align: center; 1027 width: 110px; 1028 padding: 2px; 1029 font-weight: 600; 1030 display: flex; 1031 justify-content: space-between; 1032 align-items: center; 1033 } 1034 1035 .draw-quantity svg { 1036 height: 100%; 1037 width: 100%; 1038 } 1039 1040 .draw-title-inv { 1041 display: flex; 1042 flex-direction: column; 1043 align-items: flex-between; 1044 margin-left: 10px; 1045 width: calc(100% - 123px); 1046 } 1047 1048 .drawer-icons { 1049 height: 25px; 1050 width: 25px; 1051 padding: 8px; 1052 display: flex; 1053 justify-content: center; 1054 align-items: center; 1055 cursor: pointer; 1056 border-radius: 50px; 1057 background-color: #efeeee; 1058 } 1059 1060 .drawer-icons:hover { 1061 opacity: .8; 1062 } 1063 1064 .draw-footer { 1065 height: 20%; 1066 padding: 10px 30px 20px; 1067 display: flex; 1068 flex-direction: column; 1069 justify-content: center; 1070 align-items: center; 1071 background-color: #fff; 1072 border-bottom-right-radius: 20px; 1073 border-bottom-left-radius: 20px; 1074 } 1075 1076 .draw-shipping-total { 1077 display: flex; 1078 width: 100%; 1079 justify-content: space-between; 1080 } 1081 1082 .draw-shipping-total p { 1083 color: #2a502c !important; 1084 font-size: 12px; 1085 font-family: Nunito-Regular !important; 1086 } 1087 1088 #NAIPA { 1089 background-color: #2a502c !important; 1090 } 1091 1092 #NAPils { 1093 background-color: #437d3a !important; 1094 } 1095 1096 .cart-remove-btn { 1097 display: flex; 1098 justify-content: flex-end; 1099 } 1100 1101 .icon-cart-remove { 1102 opacity: .2; 1103 height: 20px; 1104 width: auto; 1105 } 1106 1107 .icon-cart-remove:hover { 1108 opacity: .4; 1109 cursor: pointer; 1110 } 1111 1112 .draw-second-line { 1113 display: flex; 1114 justify-content: space-between; 1115 align-items: center; 1116 } 1117 1118 .draw-second-line * { 1119 font-size: 14px; 1120 } 1121 1122 .progress-bar { 1123 width: 100%; 1124 height: 4px; 1125 background-color: #efeeee; 1126 margin: 0 auto; 1127 position: relative; 1128 } 1129 1130 .bar-fill { 1131 width: 0%; 1132 height: 100%; 1133 position: absolute; 1134 top: 0; 1135 left: 0; 1136 background-color: #437d3a; 1137 transition: width ease-in-out 1s; 1138 } 1139 1140 @media screen and (max-width: 768px) { 1141 #custom-cart-drawer { 1142 height: 100dvh; 1143 width: 100vw; 1144 top: 0%; 1145 left: 0%; 1146 } 1147 1148 .draw-x-and-hdr { 1149 border-top-right-radius: 0px; 1150 border-top-left-radius: 0px; 1151 } 1152 1153 .draw-footer { 1154 border-bottom-left-radius: 0px; 1155 border-bottom-right-radius: 0px; 1156 padding: 10px 15px 20px; 1157 } 1158 1159 #drawer-prod-sect {
1160 padding: 15px; 1161 } 1162 1163 .draw-prod-price p { 1164 line-height: 1 !important; 1165 } 1166 } 1167 1168 @media screen and (max-width: 400px) { 1169 .draw-price-total { 1170 font-size: 22px; 1171 } 1172 1173 #custom-cart-drawer h1 { 1174 margin-top: -25px; 1175 } 1176 1177 .spend-to-ship { 1178 font-size: 14px; 1179 } 1180</style> 1181 1182 1183<div id="custom-cart-drawer"> 1184 <div class="draw-x-and-hdr"> 1185 <div class="draw-header-cont"> 1186 <svg onclick="document.getElementById('custom-cart-drawer').classList.remove('visible-drawer');" 1187 aria-hidden=" true" focusable="false" width="37.5" height="39" class="icon icon-close-small" 1188 viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg" id="icon-close-drawer"> 1189 <path d="M8.48627 9.32917L2.82849 3.67098" stroke="#2a502c" stroke-linecap="round" 1190 stroke-linejoin="round" /> 1191 <path d="M2.88539 9.38504L8.42932 3.61524" stroke="#2a502c" stroke-linecap="round" 1192 stroke-linejoin="round" /> 1193 </svg> 1194 <h1>Cart <span id="cart-count">[0 Items]</span></h1>
1195 <p class="spend-to-ship">Spend $50.00 More to Get Free Shipping!</p> 1196 1197 </div> 1198 <div class="progress-bar"> 1199 <span class="bar-fill" 1200 style='width: 0.0%'></span> 1201 </div> 1202 </div> 1203 <div id="drawer-prod-sect"> 1204 1205 </div> 1206 <div class="draw-footer"> 1207 <p class="draw-price-total"> 1208 <span id="draw-subtotal">Estimated Total</span> 1209 <span id="draw-dollar-total">$0.00</span> 1210 </p> 1211 <div class="draw-shipping-total"> 1212 <p>Tax, discounts and shipping calculated at checkout.</p> 1213 </div> 1214 <a href="/checkout" class="draw-checkout">Check out</a> 1215 </div> 1216</div> 1217
1218<script> 1219 function getBackgroundColor(title) { 1220 switch (title) { 1221 case 'N/A IPA 6-Pack': return '#2a502c' 1222 case 'N/A Pils 6-Pack': return '#437d3a' 1223 case 'N/A Wheat 6-Pack': return '#dcb14c' 1224 default: return '#fff' 1225 } 1226 } 1227 1228 function removeHat() { 1229 fetch('/cart/change.js', { 1230 method: "POST", 1231 headers: { "Content-Type": 'application/json' }, 1232 body: JSON.stringify({ id: '50711036330273', quantity: '0' }) 1233 }).then(response => response.json()).then(emptyCart => { 1234 let updatedProductSection = ''; 1235 emptyCart.items.forEach(item => { 1236 updatedProductSection += createIndProd(item); 1237 document.getElementById('drawer-prod-sect').innerHTML += createIndProd(item); 1238 }); 1239 document.getElementById('drawer-prod-sect').innerHTML = updatedProductSection; 1240 document.getElementById('draw-dollar-total').innerText = `$${toDollars(emptyCart.items_subtotal_price)}`; 1241 document.getElementById('cart-count').textContent = `[${emptyCart.item_count} Items]`; 1242 const barFill = document.querySelector('.bar-fill'); 1243 const shippingBarText = document.querySelector('.spend-to-ship'); 1244 if (emptyCart.items_subtotal_price >= 5000) { 1245 barFill.style.width = "100%"; 1246 shippingBarText.innerText = "You've Reached Free Shipping!" 1247 } else { 1248 shippingBarText.innerText = `Spend $${toDollars(5000 - emptyCart.items_subtotal_price)} More To Get Free Shipping`; 1249 barFill.style.width = `${(emptyCart.items_subtotal_price / 5000) * 100}%`; 1250 } 1251 }) 1252 }; 1253 1254 function addOrRemoveHat() { 1255 // Retrieves cart data 1256 fetch('/cart.js', { 1257 method: 'GET', 1258 headers: { 1259 "Content-Type": 'application/json' 1260 } 1261 }) 1262 .then(response => response.json()) 1263 .then(cart => { 1264 const items = cart.items; 1265 if (items.length > 0) { 1266 items.forEach((item) => { 1267 if (item.variant_id === 50711036330273) { 1268 hatInCart = true; 1269 }; 1270 }) 1271 if (items.length === 1 && hatInCart) { 1272 console.log('only hat is in the cart'); 1273 }; 1274 // If there are items in the cart, but no hat, this adds a hat to the cart 1275 if (!hatInCart) { 1276 fetch(window.Shopify.routes.root + 'cart/add.js', { 1277 method: 'POST', 1278 headers: { 1279 'Content-Type': 'application/json' 1280 }, 1281 body: JSON.stringify(formData) 1282 }) 1283 .then(response => { 1284 console.log('Added hat to cart!') 1285 return response.json(); 1286 }) 1287 .catch((error) => { 1288 console.error('Error:', error); 1289 }); 1290 } 1291 }; 1292 }) 1293 }; 1294 1295 function createIndProd(item) { 1296 const newIndProd = ` 1297 <div class="ind-draw-prod"> 1298 <div class="draw-first-cont"> 1299 <div class="draw-prod-image" style="background-color: ${getBackgroundColor(item.title)}"> 1300 <img src=${item.featured_image.url} alt=${item.title} /> 1301 </div > 1302 <div class="draw-title-inv"> 1303 <div class="draw-prod-title"> 1304 <p>${item.title}</p> 1305 <span class="cart-remove-btn" key=${item.key} quantity=${item.quantity} value=${item.id} onclick="deleteFromCart(this)">${removeButton}</span> 1306 </div> 1307 <div class="draw-second-line"> 1308 <div class="draw-quantity"> 1309 <button class="drawer-icons drawer-minus-icon" value=${item.id} quantity=${item.quantity} key=${item.key} onclick="minusProductFromCart(this)">${minusSign}</button> 1310 <p class="product-count" id='count-${item.id}'>${item.quantity}</p>
1311 <button class="drawer-icons drawer-plus-icon" value=${item.id} quantity=${item.quantity} key=${item.key} onclick="addProductToCart(this)">${plusSign}</button> 1312 </div> 1313 <div class="draw-prod-price"> 1314 ${item.original_line_price === item.final_line_price ? 1315 `<p class="draw-final-price">$${toDollars(item.final_line_price)}</p>` 1316 : `<p class='draw-original-price'>$${toDollars(item.original_line_price)}</p> 1317 <p class="draw-final-price">$${toDollars(item.final_line_price)}</p>` 1318 } 1319 </div> 1320 </div> 1321 </div> 1322 </div > 1323 </div > `; 1324 return newIndProd; 1325 }; 1326 1327 function updateProductQuantity(element, change) { 1328 let id = element.getAttribute("value"); 1329 let prodQuant = Number(element.getAttribute("quantity")); 1330 let prodCount = element.parentElement.querySelector('.product-count'); 1331 let itemPrice = element.parentElement.nextElementSibling.querySelector('.draw-final-price'); 1332 1333 if (prodQuant > 0) { 1334 fetch("/cart.js", { 1335 method: "GET", 1336 headers: { "Content-Type": "application/json" }, 1337 }) 1338 .then(response => response.json()) 1339 .then(cart => { 1340 let currentItem = cart.items.find(item => item.id === Number(id)); 1341 if (!currentItem) return; 1342 1343 let updatedQuantity = currentItem.quantity + change; 1344 if (updatedQuantity < 0) return; // Prevent negative quantity 1345 if (updatedQuantity > 0) prodCount.innerText = updatedQuantity; 1346 1347 fetch("/cart/change.js", { 1348 method: "POST", 1349 headers: { "Content-Type": "application/json" }, 1350 body: JSON.stringify({ id, quantity: updatedQuantity }) 1351 }) 1352 .then(response => response.json()) 1353 .then(updatedCart => { 1354 if (updatedCart.items.length === 1 && updatedCart.items.find((item) => item.id === 50711036330273)) { 1355 removeHat(); 1356 } 1357 let updatedProductSection = ''; 1358 updatedCart.items.forEach(item => { 1359 if (item.quantity > 0) { 1360 updatedProductSection += createIndProd(item); 1361 document.getElementById('drawer-prod-sect').innerHTML += createIndProd(item); 1362 }; 1363 }); 1364 document.getElementById('drawer-prod-sect').innerHTML = updatedProductSection; 1365 document.getElementById('draw-dollar-total').innerText = `$${toDollars(updatedCart.items_subtotal_price)}`; 1366 document.getElementById('cart-count').textContent = `[${updatedCart.item_count} Items]`; 1367 const barFill = document.querySelector('.bar-fill'); 1368 const shippingBarText = document.querySelector('.spend-to-ship'); 1369 if (updatedCart.items_subtotal_price >= 5000) { 1370 barFill.style.width = "100%"; 1371 shippingBarText.innerText = "You've Reached Free Shipping!" 1372 } else { 1373 shippingBarText.innerText = `Spend $${toDollars(5000 - updatedCart.items_subtotal_price)} More To Get Free Shipping`; 1374 barFill.style.width = `${(updatedCart.items_subtotal_price / 5000) * 100}%`; 1375 } 1376 }) 1377 .catch(error => console.error("Error updating cart:", error)); 1378 }) 1379 .catch(error => console.error("Error fetching cart:", error)); 1380 } 1381 } 1382 1383 function addProductToCart(element) { 1384 updateProductQuantity(element, 1); 1385 }; 1386 function minusProductFromCart(element) { 1387 updateProductQuantity(element, -1); 1388 }; 1389 function deleteFromCart(element) { 1390 let deleteQuant = element.getAttribute('quantity') * -1; 1391 updateProductQuantity(element, deleteQuant); 1392 } 1393</script>
1393 1394 1395 <!-- BEGIN sections: header-group --> 1396 1397<!-- END sections: header-group --> 1398 1399 <main id="MainContent" class="content-for-layout focus-none" role="main" tabindex="-1"> 1400 <section id="shopify-section-template--24219530985761__main" class="shopify-section section"><link href="//goodtimebrewing.com/cdn/shop/t/55/assets/component-article-card.css?v=120010392623192456601739290961" rel="stylesheet" type="text/css" media="all" /> 1401<link href="//goodtimebrewing.com/cdn/shop/t/55/assets/component-card.css?v=120027167547816435861738633420" rel="stylesheet" type="text/css" media="all" /> 1402<link href="//goodtimebrewing.com/cdn/shop/t/55/assets/section-main-blog.css?v=116696879642415902081738633420" rel="stylesheet" type="text/css" media="all" /> 1403<style data-shopify>.section-template--24219530985761__main-padding { 1404 padding-top: 27px; 1405 padding-bottom: 27px; 1406 } 1407 1408 @media screen and (min-width: 750px) { 1409 .section-template--24219530985761__main-padding { 1410 padding-top: 36px; 1411 padding-bottom: 36px; 1412 } 1413 }</style><div class="blog-title-block"> 1414 <div class="main-blog page-width section-template--24219530985761__main-padding"> 1415 <h1 style="font-weight: 600;" class="title--primary">Journal</h1> 1416 </div> 1417 </div> 1418 1419 1420<link href="//goodtimebrewing.com/cdn/shop/t/55/assets/breadcrumbs.css?v=122165618387541607921738633420" rel="stylesheet" type="text/css" media="all" /> 1421 1422 <nav class="breadcrumb" role="navigation" aria-label="breadcrumbs"> 1423 <a href="/" title="Home">Home </a> 1424 1425 <span aria-hidden="true"> › </span> 1426 1427 <span class="bread-prod-title">Journal</span> 1428 1429 1430</nav> 1431 1432 <div class="blog-articles blog-articles--collage"><div class="blog-articles__article article"> 1433<div class="article-card-wrapper card-wrapper underline-links-hover"> 1434 1435 <div 1436 class=" 1437 card article-card 1438 card--standard 1439 article-card__image--medium 1440 card--media 1441 1442 1443 " 1444 style="--ratio-percent: 66.7%;" 1445 > 1446 <div 1447 class="card__inner color-background-2 gradient ratio" 1448 style="--ratio-percent: 66.7%;" 1449 ><div class="article-card__image-wrapper card__media"> 1450 <div 1451 class="article-card__image media media--hover-effect" 1452 1453 > 1454 1455 <img 1456 srcset="//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=165 165w,//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=360 360w,//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=533 533w,//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=720 720w,//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=1000 1000w,//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958 1000w 1457 " 1458 src="//goodtimebrewing.com/cdn/shop/articles/GT-11_c4fe5222-ce71-48f0-92f2-87e1845b509c.jpg?v=1737587958&width=533" 1459 sizes="(min-width: 1200px) 550px, (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" 1460 alt="The Rise of Non-Alcoholic Beer in New York's Nightlife" 1461 class="motion-reduce" 1462 1463 loading="lazy" 1464 1465 width="1000" 1466 height="667" 1467 > 1468 1469 </div> 1470 </div><div class="card__content"> 1471 <div class="card__information"> 1472 <h3 class="card__heading h2"> 1473 <a href="/blogs/journal/the-rise-of-non-alcoholic-beer-in-new-yorks-nightlife" class="full-unstyled-link"> 1474 The Rise of Non-Alcoholic Beer in New York's Ni... 1475 </a> 1476 </h3> 1477 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2025-01-21T05:07:27Z">January 21, 2025</time></span></div><p class="article-card__excerpt rte-width">New York City has always been a trendsetter, full of people who thrive on the new and want to experience all the city can offer. For that reason, NYC nightlife... 1478</p><div class="article-card__footer"></div></div></div> 1479 </div> 1480 <div class="card__content"> 1481 <div class="card__information"> 1482 <h3 class="card__heading h2"> 1483 <a href="/blogs/journal/the-rise-of-non-alcoholic-beer-in-new-yorks-nightlife" class="full-unstyled-link"> 1484 The Rise of Non-Alcoholic Beer in New York's Ni... 1485 </a> 1486 </h3> 1487 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2025-01-21T05:07:27Z">January 21, 2025</time></span></div><p class="article-card__excerpt rte-width">New York City has always been a trendsetter, full of people who thrive on the new and want to experience all the city can offer. For that reason, NYC nightlife... 1488</p><div class="article-card__footer"></div></div></div> 1489 </div> 1490 </div></div><div class="blog-articles__article article"> 1491<div class="article-card-wrapper card-wrapper underline-links-hover"> 1492 1493 <div 1494 class=" 1495 card article-card 1496 card--standard 1497 article-card__image--medium 1498 card--media 1499 1500 1501 " 1502 style="--ratio-percent: 46.664414794798176%;" 1503 > 1504 <div 1505 class="card__inner color-background-2 gradient ratio" 1506 style="--ratio-percent: 46.664414794798176%;" 1507 ><div class="article-card__image-wrapper card__media"> 1508 <div 1509 class="article-card__image media media--hover-effect" 1510 1511 > 1512 1513 <img 1514 srcset="//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=165 165w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=360 360w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=533 533w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=720 720w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=1000 1000w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=1500 1500w,//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786 5921w 1515 " 1516 src="//goodtimebrewing.com/cdn/shop/articles/gtb-dry-jan-banner-close.jpg?v=1735853786&width=533" 1517 sizes="(min-width: 1200px) 550px, (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" 1518 alt="Dry January in New York: Embrace an Alcohol-Free Month" 1519 class="motion-reduce" 1520 1521 loading="lazy" 1522 1523 width="5921" 1524 height="2763" 1525 > 1526 1527 </div> 1528 </div><div class="card__content"> 1529 <div class="card__information"> 1530 <h3 class="card__heading h2"> 1531 <a href="/blogs/journal/dry-january-in-new-york-embrace-an-alcohol-free-month" class="full-unstyled-link"> 1532 Dry January in New York: Embrace an Alcohol-Fre... 1533 </a> 1534 </h3> 1535 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2025-01-02T21:43:09Z">January 2, 2025</time></span></div><p class="article-card__excerpt rte-width">Discover how New York City embraces Dry January with top alcohol-free drinks, events, and tips for a mindful month. Explore local trends and options. 1536</p><div class="article-card__footer"></div></div></div> 1537 </div> 1538 <div class="card__content"> 1539 <div class="card__information"> 1540 <h3 class="card__heading h2"> 1541 <a href="/blogs/journal/dry-january-in-new-york-embrace-an-alcohol-free-month" class="full-unstyled-link"> 1542 Dry January in New York: Embrace an Alcohol-Fre... 1543 </a> 1544 </h3> 1545 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2025-01-02T21:43:09Z">January 2, 2025</time></span></div><p class="article-card__excerpt rte-width">Discover how New York City embraces Dry January with top alcohol-free drinks, events, and tips for a mindful month. Explore local trends and options. 1546</p><div class="article-card__footer"></div></div></div> 1547 </div> 1548 </div></div><div class="blog-articles__article article"> 1549<div class="article-card-wrapper card-wrapper underline-links-hover"> 1550 1551 <div 1552 class=" 1553 card article-card 1554 card--standard 1555 article-card__image--medium 1556 card--media 1557 1558 1559 " 1560 style="--ratio-percent: 66.640625%;" 1561 > 1562 <div 1563 class="card__inner color-background-2 gradient ratio" 1564 style="--ratio-percent: 66.640625%;" 1565 ><div class="article-card__image-wrapper card__media"> 1566 <div 1567 class="article-card__image media media--hover-effect" 1568 1569 > 1570 1571 <img 1572 srcset="//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=165 165w,//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=360 360w,//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=533 533w,//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=720 720w,//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=1000 1000w,//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096 1280w 1573 " 1574 src="//goodtimebrewing.com/cdn/shop/articles/early-3-lg.jpg?v=1724948096&width=533" 1575 sizes="(min-width: 1200px) 550px, (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" 1576 alt="Non-Alcoholic Beer: A Growing Market in New York" 1577 class="motion-reduce" 1578 1579 loading="lazy" 1580 1581 width="1280" 1582 height="853" 1583 > 1584 1585 </div> 1586 </div><div class="card__content"> 1587 <div class="card__information"> 1588 <h3 class="card__heading h2"> 1589 <a href="/blogs/journal/non-alcoholic-beer-a-growing-market-in-new-york" class="full-unstyled-link"> 1590 Non-Alcoholic Beer: A Growing Market in New York 1591 </a> 1592 </h3> 1593 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2024-08-29T18:46:22Z">August 29, 2024</time></span></div><p class="article-card__excerpt rte-width">The non-alcoholic beer market in New York has grown significantly in recent years, reflecting a broader shift in consumer preferences regarding their drinking habits. As alcohol consumption among younger populations... 1594</p><div class="article-card__footer"></div></div></div> 1595 </div> 1596 <div class="card__content"> 1597 <div class="card__information"> 1598 <h3 class="card__heading h2"> 1599 <a href="/blogs/journal/non-alcoholic-beer-a-growing-market-in-new-york" class="full-unstyled-link"> 1600 Non-Alcoholic Beer: A Growing Market in New York 1601 </a> 1602 </h3> 1603 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2024-08-29T18:46:22Z">August 29, 2024</time></span></div><p class="article-card__excerpt rte-width">The non-alcoholic beer market in New York has grown significantly in recent years, reflecting a broader shift in consumer preferences regarding their drinking habits. As alcohol consumption among younger populations... 1604</p><div class="article-card__footer"></div></div></div> 1605 </div> 1606 </div></div><div class="blog-articles__article article"> 1607<div class="article-card-wrapper card-wrapper underline-links-hover"> 1608 1609 <div 1610 class=" 1611 card article-card 1612 card--standard 1613 article-card__image--medium 1614 card--media 1615 1616 1617 " 1618 style="--ratio-percent: 125.0%;" 1619 > 1620 <div 1621 class="card__inner color-background-2 gradient ratio" 1622 style="--ratio-percent: 125.0%;" 1623 ><div class="article-card__image-wrapper card__media"> 1624 <div 1625 class="article-card__image media media--hover-effect" 1626 1627 > 1628 1629 <img 1630 srcset="//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=165 165w,//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=360 360w,//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=533 533w,//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=720 720w,//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=1000 1000w,//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555 1440w 1631 " 1632 src="//goodtimebrewing.com/cdn/shop/articles/lookingAtMichelada.jpg?v=1719590555&width=533" 1633 sizes="(min-width: 1200px) 550px, (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" 1634 alt="A guy peering over a counter at a Michelada" 1635 class="motion-reduce" 1636 1637 loading="lazy" 1638 1639 width="1440" 1640 height="1800" 1641 > 1642 1643 </div> 1644 </div><div class="card__content"> 1645 <div class="card__information"> 1646 <h3 class="card__heading h2"> 1647 <a href="/blogs/journal/cheers-to-national-michelada-day" class="full-unstyled-link"> 1648 Cheers to National Michelada Day 1649 </a> 1650 </h3> 1651 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider">
1651<time datetime="2024-07-05T17:51:04Z">July 5, 2024</time></span></div><p class="article-card__excerpt rte-width">If you're a fan of refreshing drinks on a hot summer day, then National Michelada Day 2024 is the perfect excuse to raise a glass. For foodies and beer lovers... 1652</p><div class="article-card__footer"></div></div></div> 1653 </div> 1654 <div class="card__content"> 1655 <div class="card__information"> 1656 <h3 class="card__heading h2"> 1657 <a href="/blogs/journal/cheers-to-national-michelada-day" class="full-unstyled-link"> 1658 Cheers to National Michelada Day 1659 </a> 1660 </h3> 1661 <div class="article-card__info caption-with-letter-spacing h5"><span class="circle-divider"><time datetime="2024-07-05T17:51:04Z">July 5, 2024</time></span></div><p class="article-card__excerpt rte-width">If you're a fan of refreshing drinks on a hot summer day, then National Michelada Day 2024 is the perfect excuse to raise a glass. For foodies and beer lovers... 1662</p><div class="article-card__footer"></div></div></div> 1663 </div> 1664 </div></div></div></div><footer class="footer" id="footer" style="padding-top: 50px;"> 1665 <div class="wrapper"> 1666 <div class="footer-logo"> 1667 <img loading="lazy" src="//goodtimebrewing.com/cdn/shop/t/55/assets/gtb-white-logo.svg?v=88008680887741454111738633420" alt="Good Time Brewing's logo with a white font and no background. It reads 'Good Time Brewing Co. New York'"> 1668 </div> 1669 <div class="footer-main"> 1670 <ul class="footer-menu"> 1671 <li><a class="menu-title" href="/pages/shop">Shop Online</a></li> 1672 <li><a class="menu-title" href="/pages/find-us">Find Us</a></li> 1673 <li><a class="menu-title" href="/pages/faq">FAQ</a></li> 1674 <li><a class="menu-title" href="/blogs/journal">Journal</a></li> 1675 </ul> 1676 </div> 1677 <div id="footer-right-cont"> 1678 1679 <ul class="footer-social"> 1680 <li><a href="https://www.facebook.com/goodtimebrewing/"><img src="//goodtimebrewing.com/cdn/shop/t/55/assets/facebook-ico.webp?v=132951222510492719021738633420" alt="Facebook Icon to link the website to Good Time Brewing's Facebook page"></a></li> 1681 <li><a href="https://www.instagram.com/goodtimebrewing"><img src="//goodtimebrewing.com/cdn/shop/t/55/assets/instagram-ico.webp?v=121855215602099571721738633420" alt="Facebook Icon to link the website to Good Time Brewing's Instagram page"></a></li> 1682 <li><a href="https://www.tiktok.com/@goodtimebrewing"><img src="//goodtimebrewing.com/cdn/shop/t/55/assets/tik-tok-ico.webp?v=180587564821647631181738633420" alt="Facebook Icon to link the website to Good Time Brewing's Tik Tok"></a></li> 1683 </ul> 1684 </div> 1685 </div> 1686 <a id="terms-and-conditions" href = "/pages/terms-and-conditions">Terms and Conditions</a> 1687 </footer> 1688 1689 1690</section> 1691 </main> 1692 <div id="cart-slider"> 1693 <div id="cart-slider-cont"> 1694 <p id="cart-x"><span class="x-span" id="left-x"></span><span class="x-span" id="right-x"></span></p> 1695 <div id="cart-slider-text-holder"> 1696 <p class="cart-slider-text" id="cart-your-cart-is-empty">YOUR CART IS EMPTY</p> 1697 <a href="/pages/shop" class="primary-btn" id='cart-continue-shopping-text'>CONTINUE SHOPPING</a> 1698 </div> 1699 </div> 1700 </div> 1701 1702 <!-- BEGIN sections: footer-group --> 1703 1704<!-- END sections: footer-group --> 1705 <div class="mobile-footer"> 1706 <nav> 1707 <ul> 1708 <li><a href="/collections/non-alcoholic-beers">Shop</a></li> 1709 <li><a href="/pages/find-us">Find Us</a></li> 1710 <li><button onclick="document.getElementById('custom-cart-drawer').classList.add('visible-drawer');">Cart</button></li> 1711 <li id="more-foot-btn">More</li> 1712 </ul> 1713 </nav> 1714</div> 1715 <ul hidden> 1716 <li id="a11y-refresh-page-message">Choosing a selection results in a full page refresh.</li> 1717 <li id="a11y-new-window-message">Opens in a new window.</li> 1718 </ul> 1719 <!--
1719<script> 1720 window.addEventListener("load", (event) => { 1721 1722 let allPBtns = document.querySelectorAll(".primary-btn"); 1723 let allBBtns = document.querySelectorAll('.border-btn'); 1724 1725 if (navigator.userAgent.includes('Chrome') || navigator.userAgent.includes('Ddg') || navigator.userAgent.includes('DDg')) { 1726 // console.log('chrome or ddg'); 1727 if (document.getElementById('dynamic-react-root') == null) { 1728 allPBtns.forEach((btn) => { 1729 btn.style.padding = "11.5px 49px 10px"; 1730 }); 1731 console.log('pb btns if') 1732 allBBtns.forEach((btn) => { 1733 btn.style.padding = "10.5px 48px 9px"; 1734 }); 1735 console.log('bb btns if') 1736 } else { 1737 allPBtns.forEach((btn) => { 1738 btn.style.padding = "8.5px 49.05px 13px"; 1739 }); 1740 console.log('pb btns else') 1741 allBBtns.forEach((btn) => { 1742 btn.style.padding = "7.5px 48.05px 12px"; 1743 }); 1744 console.log('bb btns else') 1745 } 1746 } else { 1747 return; 1748 } 1749 }); 1750 </script>
1750 --> 1751
1751<script> 1752 window.shopUrl = 'https://goodtimebrewing.com'; 1753 window.routes = { 1754 cart_add_url: '/cart/add', 1755 cart_change_url: '/cart/change', 1756 cart_update_url: '/cart/update', 1757 cart_url: '/cart', 1758 predictive_search_url: '/search/suggest' 1759 }; 1760 1761 window.cartStrings = { 1762 error: `There was an error while updating your cart. Please try again.`, 1763 quantityError: `You can only add [quantity] of this item to your cart.` 1764 } 1765 1766 window.variantStrings = { 1767 addToCart: `Add to cart`, 1768 soldOut: `Sold out`, 1769 unavailable: `Unavailable`, 1770 unavailable_with_option: `[value] - Unavailable`, 1771 } 1772 1773 window.accessibilityStrings = { 1774 imageAvailable: `Image [index] is now available in gallery view`, 1775 shareSuccess: `Link copied to clipboard`, 1776 pauseSlideshow: `Pause slideshow`, 1777 playSlideshow: `Play slideshow`, 1778 } 1779 </script>
1779 1780
1780<script> 1781 window.onLoad = function () { 1782 let cartOpen = false; 1783 let slider = document.getElementById('cart-slider'); 1784 function cartSlide() { 1785 if (cartOpen === false) { 1786 cartOpen = true; 1787 slider.classList.add("slider-open"); 1788 } else { 1789 cartOpen = false 1790 slider.classList.remove("slider-open"); 1791 } 1792 } 1793 function clickX() { 1794 cartOpen === false; 1795 slider.classList.remove('slider-open'); 1796 } 1797 document.getElementById('cart-menu-item-empty').addEventListener("click", cartSlide); 1798 document.getElementById('cart-x').addEventListener('click', clickX); 1799 }; 1800 </script>
1800 1801 1802 1803
1803<script> 1804 // This FormData is the GTB Free hat for give away 1805 let formData = { 1806 'items': [{ 1807 'id': 50711036330273, 1808 'quantity': 1 1809 }] 1810 }; 1811 1812 // Shows if cart has free hat in it or not 1813 let hatInCart = false; 1814 1815 // Function to retrieve current cart data, and if there is an item in cart, but no hat, Hat is added to cart 1816 function addOrRemoveHat() { 1817 // Retrieves cart data 1818 fetch('/cart.js', { 1819 method: 'GET', 1820 headers: { 1821 "Content-Type": 'application/json' 1822 } 1823 }) 1824 .then(response => response.json()) 1825 .then(cart => { 1826 const items = cart.items; 1827 if (items.length > 0) { 1828 items.forEach((item) => { 1829 if (item.variant_id === 50711036330273) { 1830 hatInCart = true; 1831 }; 1832 }) 1833 if (items.length === 1 && hatInCart) { 1834 console.log('only hat is in the cart'); 1835 }; 1836 // If there are items in the cart, but no hat, this adds a hat to the cart 1837 if (!hatInCart) { 1838 fetch(window.Shopify.routes.root + 'cart/add.js', { 1839 method: 'POST', 1840 headers: { 1841 'Content-Type': 'application/json' 1842 }, 1843 body: JSON.stringify(formData) 1844 }) 1845 .then(response => { 1846 console.log('Added hat to cart!') 1847 return response.json(); 1848 }) 1849 .catch((error) => { 1850 console.error('Error:', error); 1851 }); 1852 } 1853 }; 1854 }) 1855 }; 1856 1857 </script>
1857 1858 1859 1860
1860<script> 1861 const plusSign = `<svg 1862 xmlns="http://www.w3.org/2000/svg" 1863 aria-hidden="true" 1864 focusable="false" 1865 class="icon icon-plus" 1866 fill="none" 1867 viewBox="0 0 10 10" 1868 > 1869 <path fill-rule="evenodd" clip-rule="evenodd" d="M1 4.51a.5.5 0 000 1h3.5l.01 3.5a.5.5 0 001-.01V5.5l3.5-.01a.5.5 0 00-.01-1H5.5L5.49.99a.5.5 0 00-1 .01v3.5l-3.5.01H1z" fill="currentColor"> 1870 </svg>`; 1871 1872 const minusSign = `<svg 1873 xmlns="http://www.w3.org/2000/svg" 1874 aria-hidden="true" 1875 focusable="false" 1876 class="icon icon-minus" 1877 fill="none" 1878 viewBox="0 0 10 2" 1879 > 1880 <path fill-rule="evenodd" clip-rule="evenodd" d="M.5 1C.5.7.7.5 1 .5h8a.5.5 0 110 1H1A.5.5 0 01.5 1z" fill="currentColor"> 1881 </svg>`; 1882 1883 const removeButton = `<svg 1884 xmlns="http://www.w3.org/2000/svg" 1885 viewBox="0 0 16 16" 1886 aria-hidden="true" 1887 focusable="false" 1888 class="icon icon-remove icon-cart-remove" 1889 > 1890 <path d="M14 3h-3.53a3.07 3.07 0 00-.6-1.65C9.44.82 8.8.5 8 .5s-1.44.32-1.87.85A3.06 3.06 0 005.53 3H2a.5.5 0 000 1h1.25v10c0 .28.22.5.5.5h8.5a.5.5 0 00.5-.5V4H14a.5.5 0 000-1zM6.91 1.98c.23-.29.58-.48 1.09-.48s.85.19 1.09.48c.2.24.3.6.36 1.02h-2.9c.05-.42.17-.78.36-1.02zm4.84 11.52h-7.5V4h7.5v9.5z" fill="#000"/> 1891 <path d="M6.55 5.25a.5.5 0 00-.5.5v6a.5.5 0 001 0v-6a.5.5 0 00-.5-.5zM9.45 5.25a.5.5 0 00-.5.5v6a.5.5 0 001 0v-6a.5.5 0 00-.5-.5z" fill="#000"/> 1892 </svg>`; 1893 1894 function toDollars(price) { 1895 return (price / 100).toFixed(2); 1896 } 1897 1898 function getBackgroundColor(title) { 1899 switch (title) { 1900 case 'N/A IPA 6-Pack': return '#2a502c' 1901 case 'N/A Pils 6-Pack': return '#437d3a' 1902 case 'N/A Wheat 6-Pack': return '#dcb14c' 1903 default: return '#fff' 1904 } 1905 } 1906 1907 function createIndProd(item) { 1908 const newIndProd = ` 1909 <div class="ind-draw-prod"> 1910 <div class="draw-first-cont"> 1911 <div class="draw-prod-image" style="background-color: ${getBackgroundColor(item.title)}"> 1912 <img src=${item.featured_image.url} alt=${item.title} /> 1913 </div > 1914 <div class="draw-title-inv"> 1915 <div class="draw-prod-title"> 1916 <p>${item.title}</p> 1917 <span class="cart-remove-btn" key=${item.key} quantity=${item.quantity} value=${item.id} onclick="deleteFromCart(this)">${removeButton}</span> 1918 </div> 1919 <div class="draw-second-line"> 1920 <div class="draw-quantity"> 1921 <button class="drawer-icons drawer-minus-icon" value=${item.id} quantity=${item.quantity} key=${item.key} onclick="minusProductFromCart(this)">${minusSign}</button> 1922 <p class="product-count" id='count-${item.id}'>${item.quantity}</p> 1923 <button class="drawer-icons drawer-plus-icon" value=${item.id} quantity=${item.quantity} key=${item.key} onclick="addProductToCart(this)">${plusSign}</button> 1924 </div> 1925 <div class="draw-prod-price"> 1926 ${item.original_line_price === item.final_line_price ? 1927 `<p class="draw-final-price">$${toDollars(item.final_line_price)}</p>` 1928 : `<p class='draw-original-price'>$${toDollars(item.original_line_price)}</p> 1929 <p class="draw-final-price">$${toDollars(item.final_line_price)}</p>` 1930 } 1931 </div> 1932 </div> 1933 </div> 1934 </div > 1935 </div > `; 1936 return newIndProd; 1937 }; 1938 1939 document.addEventListener('DOMContentLoaded', () => { 1940 // Store the original fetch method 1941 const originalFetch = window.fetch; 1942 1943 // Override the global fetch method 1944 window.fetch = function (...args) { 1945 // Check if the fetch request is for adding to cart 1946 if (args[0].includes('/cart/add')) { 1947 return originalFetch.apply(this, args) 1948 .then(response => { 1949 // Fetch the updated cart information 1950 return fetch('/cart.js') 1951 .then(cartResponse => cartResponse.json()) 1952 .then(newCart => { 1953 console.log(newCart); 1954 if (newCart.items.length >= 1) { 1955 addOrRemoveHat(); 1956 } 1957 // Update cart UI 1958 updateCartUI(newCart); 1959 1960 // Open the cart drawer 1961 document.getElementById('custom-cart-drawer').classList.add('visible-drawer'); 1962 1963 return response; 1964 }) 1965 .catch(error => { 1966 console.error('Error updating cart:', error); 1967 return response; 1968 }); 1969 }); 1970 } 1971 1972 // For non-cart-add requests, use the original fetch 1973 return originalFetch.apply(this, args); 1974 }; 1975 1976 // Separate function to update cart UI 1977 function updateCartUI(newCart) { 1978 // Create updated product section 1979 const updatedProductSection = newCart.items 1980 .map(item => createIndProd(item)) 1981 .join(''); 1982 1983 // Update product section
1984 const drawerProdSect = document.getElementById('drawer-prod-sect'); 1985 drawerProdSect.innerHTML = updatedProductSection; 1986 1987 // Update total price 1988 document.getElementById('draw-dollar-total').innerText = 1989 `$${toDollars(newCart.items_subtotal_price)}`; 1990 1991 // Update cart item count 1992 document.getElementById('cart-count').textContent = 1993 `[${newCart.item_count} Items]`; 1994 1995 // Update shipping progress bar 1996 updateShippingBar(newCart.total_price); 1997 } 1998 1999 // Separate function to update shipping progress bar 2000 function updateShippingBar(totalPrice) { 2001 const FREE_SHIPPING_THRESHOLD = 5000; 2002 const barFill = document.querySelector('.bar-fill'); 2003 const shippingBarText = document.querySelector('.spend-to-ship'); 2004 2005 if (totalPrice >= FREE_SHIPPING_THRESHOLD) { 2006 barFill.style.width = "100%"; 2007 shippingBarText.innerText = "You've Reached Free Shipping!"; 2008 } else { 2009 const remainingAmount = FREE_SHIPPING_THRESHOLD - totalPrice; 2010 shippingBarText.innerText = 2011 `Spend $${toDollars(remainingAmount)} More To Get Free Shipping`; 2012 barFill.style.width = `${(totalPrice / FREE_SHIPPING_THRESHOLD) * 100}%`; 2013 } 2014 } 2015 }); 2016 </script>
2016 2017 2018 2019<style> .shogun-form-box {padding: 10px; max-width: 500px; margin: auto;} </style>
2020<script src="https://cdn.shopify.com/storefront/standard-actions.js" type="module" data-source-attribution="shopify.standard_actions"></script>
2020 2021</body> 2022 2023</html> 2024
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.