Green Gridirion – Football Helmets, Facemasks, Visors, Chinstraps – Green Gridiron, Inc. {0}”. Please try again with a different term.”,”productSearchResultWithTermSummary”:”{0} results for ‘{1}'”,”productSearchResultSummary”:”{0} products”,”productSearchNoResults”:”
No matching for ‘{0}’.
But don’t give up – check the filters, spelling or try less specific search terms.”,”productSearchNoResultsEmptyTerm”:”
No results found.
But don’t give up – check the filters or try less specific terms.”,”clearAll”:”Clear all”,”clear”:”Clear”,”clearAllFilters”:”Clear all filters”,”clearFiltersBy”:”Clear filters by {0}”,”filterBy”:”Filter by {0}”,”sort”:”Sort”,”sortBy_r”:”Relevance”,”sortBy_title”:”Title: A-Z”,”sortBy_-title”:”Title: Z-A”,”sortBy_date”:”Date: Old to New”,”sortBy_-date”:”Date: New to Old”,”sortBy_price”:”Price: Low to High”,”sortBy_-price”:”Price: High to Low”,”sortBy_-discount”:”Discount: High to Low”,”sortBy_bestselling”:”Best selling”,”sortBy_-available”:”Inventory: High to Low”,”sortBy_producttype”:”Product Type: A-Z”,”sortBy_-producttype”:”Product Type: Z-A”,”filters”:”Filters”,”filterOptions”:”Filter options”,”clearFilterOptions”:”Clear all filter options”,”youHaveViewed”:”You’ve viewed {0} of {1} products”,”loadMore”:”Load more”,”loadPrev”:”Load previous”,”productMatches”:”Product matches”,”trending”:”Trending”,”didYouMean”:”Sorry, nothing found for ‘{0}’.
Did you mean ‘{1}’?”,”searchSuggestions”:”Search suggestions”,”quantity”:”Quantity”,”selectedVariantNotAvailable”:”The selected variant is not available.”,”addToCart”:”Add to cart”,”seeFullDetails”:”See full details”,”chooseOptions”:”Choose options”,”quickView”:”Quick view”,”sale”:”Sale”,”save”:”Save”,”soldOut”:”Sold out”,”viewItems”:”View items”,”more”:”More”,”all”:”All”,”prevPage”:”Previous page”,”gotoPage”:”Go to page {0}”,”nextPage”:”Next page”,”from”:”From”,”collections”:”Collections”,”pages”:”Pages”,”sortBy_”:”Relevance”,”sortBy_option:Amount”:”Amount: A-Z”,”sortBy_-option:Amount”:”Amount: Z-A”,”sortBy_option:Award Decal”:”Award Decal: A-Z”,”sortBy_-option:Award Decal”:”Award Decal: Z-A”,”sortBy_option:Clip Color”:”Clip Color: A-Z”,”sortBy_-option:Clip Color”:”Clip Color: Z-A”,”sortBy_option:Color”:”Color: A-Z”,”sortBy_-option:Color”:”Color: Z-A”,”sortBy_option:Color & Size”:”Color & Size: A-Z”,”sortBy_-option:Color & Size”:”Color & Size: Z-A”,”sortBy_option:Country”:”Country: A-Z”,”sortBy_-option:Country”:”Country: Z-A”,”sortBy_option:Decal”:”Decal: A-Z”,”sortBy_-option:Decal”:”Decal: Z-A”,”sortBy_option:Helmet Type”:”Helmet Type: A-Z”,”sortBy_-option:Helmet Type”:”Helmet Type: Z-A”,”sortBy_option:Placement”:”Placement: A-Z”,”sortBy_-option:Placement”:”Placement: Z-A”,”sortBy_option:Quantity”:”Quantity: A-Z”,”sortBy_-option:Quantity”:”Quantity: Z-A”,”sortBy_option:Shell Color”:”Shell Color: A-Z”,”sortBy_-option:Shell Color”:”Shell Color: Z-A”,”sortBy_option:Shell Size”:”Shell Size: A-Z”,”sortBy_-option:Shell Size”:”Shell Size: Z-A”,”sortBy_option:Size”:”Size: A-Z”,”sortBy_-option:Size”:”Size: Z-A”,”sortBy_option:SportStar Adapter Color”:”SportStar Adapter Color: A-Z”,”sortBy_-option:SportStar Adapter Color”:”SportStar Adapter Color: Z-A”,”sortBy_option:State”:”State: A-Z”,”sortBy_-option:State”:”State: Z-A”,”sortBy_option:Style”:”Style: A-Z”,”sortBy_-option:Style”:”Style: Z-A”,”sortBy_option:Title”:”Title: A-Z”,”sortBy_-option:Title”:”Title: Z-A”,”sortBy_option:Visor Style”:”Visor Style: A-Z”,”sortBy_-option:Visor Style”:”Visor Style: Z-A”,”sortBy_option:Type”:”Type: A-Z”,”sortBy_-option:Type”:”Type: Z-A”}} } ]]>
{const e=o[r]%16;return r++,(“x”===t?e:3&e|8).toString(16)})).toUpperCase()}catch(n){e=t.replace(/[x]/g,(t=>{const e=16*Math.random()|0;return(“x”===t?e:3&e|8).toString(16)})).toUpperCase()}return`${function(){let t=0,e=0;t=(new Date).getTime()>>>0;try{e=performance.now()>>>0}catch(t){e=0}const n=Math.abs(t+e).toString(16).toLowerCase();return”00000000″.substr(0,8-n.length)+n}()}-${e}`}()}`}function r(n,r){if(!t[n]||”trekkie”!==(null==r?void 0:r.analyticsFramework)&&”wpm”!==(null==r?void 0:r.analyticsFramework))return o(“shu”);const i=”string”==typeof(c=r.cacheKey)&&c?c:”default”;var c;const a=function(t,n,o){const r=e[n];return void 0===r[t]&&(r[t]={}),void 0===r[t][o]?r[t][o]=0:r[t][o]+=1,r[t][o]}(n,r.analyticsFramework,i);return function(e,n,r){const i=t[e];if(void 0===i[r]){const t=o();i[r]=[t]}else if(void 0===i[r][n]){const t=o();i[r].push(t)}return i[r][n]}(n,a,i)}function i(){window.Shopify=window.Shopify||{},n(),window.Shopify.evids=(t,e)=>r(t,e)}i();})(); ]]> -1&&(window.Shopify.analytics.identify=a.identify)}},onerror:function(){var n=(e.storefrontBaseUrl?e.storefrontBaseUrl.replace(//$/,””):self.location.origin)+”/.well-known/shopify/monorail/unstable/produce_batch”,a=JSON.stringify({metadata:{event_sent_at_ms:(new Date).getTime()},events:[{schema_id:”web_pixels_manager_load/2.0″,payload:{version:o||”latest”,page_url:self.location.href,status:”failed”,error_msg:S+” has failed to load”},metadata:{event_created_at_ms:(new Date).getTime()}}]});try{if(self.navigator.sendBeacon.bind(self.navigator)(n,a))return!0}catch(e){}const t=new XMLHttpRequest;try{return t.open(“POST”,n,!0),t.setRequestHeader(“Content-Type”,”text/plain”),t.send(a),!0}catch(e){console&&console.warn&&console.warn(“[Web Pixels Manager] Got an unhandled error while logging a load error.”)}return!1}},y=document.createElement(“script”),m=h.src,g=h.async||!0,v=h.onload,_=h.onerror,b=document.head,x=document.body,y.async=g,y.src=m,v&&y.addEventListener(“load”,v),_&&y.addEventListener(“error”,_),b?b.appendChild(y):x?x.appendChild(y):console.error(“Did not find a head or body element to append the script”)})({shopId: 24584861,storefrontBaseUrl: “https://www.greengridiron.com”,cdnBaseUrl: “https://www.greengridiron.com/cdn”,surface: “storefront-renderer”,enabledBetaFlags: [“web_pixels_shopify_pixel_validation”,”web_pixels_manager_runtime_asset_prefix”,”web_pixels_async_pixel_refactor”],webPixelsConfigList: [{“id”:”shopify-app-pixel”,”configuration”:”{}”,”eventPayloadVersion”:”v1″,”runtimeContext”:”STRICT”,”scriptVersion”:”0551″,”apiClientId”:”shopify-pixel”,”type”:”APP”},{“id”:”shopify-custom-pixel”,”eventPayloadVersion”:”v1″,”runtimeContext”:”LAX”,”scriptVersion”:”0551″,”apiClientId”:”shopify-pixel”,”type”:”CUSTOM”}],initData: {“cart”:null,”checkout”:null,”customer”:null,”productVariants”:[]},},function pageEvents(webPixelsManagerAPI) {webPixelsManagerAPI.publish(“page_viewed”);},”https://www.greengridiron.com/cdn”,”browser”,”0.0.321″,”ca3b1631wcc82ee4bp59b3cf07mebd07bc5″,[“web_pixels_shopify_pixel_validation”,”web_pixels_manager_runtime_asset_prefix”,”web_pixels_async_pixel_refactor”]);]]> { console.error(“Elevar Data Layer: JS script failed to load”); }; script.onload = () => { if (!window.ElevarGtmSuite) { console.error(“Elevar Data Layer: `ElevarGtmSuite` is not defined”); return; } const cartData = { attributes:{}, cartTotal: “0.0”, currencyCode:”USD”, items: [] } ; if (config.event_config.save_order_notes) { window.ElevarGtmSuite.handlers.cookieReconcile(cartData); window.ElevarGtmSuite.handlers.paramReconcile(cartData); } if (config.event_config.user) { window.ElevarGtmSuite.handlers.user({cartTotal: “0.0”, currencyCode:”USD”,}); } if (config.event_config.product_add_to_cart_ajax) { window.ElevarGtmSuite.handlers.productAddToCartAjax(config.event_config.save_order_notes); } if (config.event_config.cart_reconcile) { window.ElevarGtmSuite.handlers.cartReconcile(cartData); }}; document.body.appendChild(script); })(); ]]>
The Green Gridiron Difference
1) { var key = variant.option1; Shopify.optionsUnavailable[key] = Shopify.optionsUnavailable[key] || []; Shopify.optionsUnavailable[key].push(variant.option2); Shopify.optionsUnavailable[key] = Shopify.uniq(Shopify.optionsUnavailable[key]); } } } // Update options right away. Shopify.updateOptionsInSelector(0, ‘init’); if (product.options.length > 1) Shopify.updateOptionsInSelector(1); if (product.options.length === 3) Shopify.updateOptionsInSelector(2); // When there is an update in the first dropdown. jQuery(“.single-option-selector:eq(0)”).change(function() { console.log(‘FIRST OPTION’); Shopify.updateOptionsInSelector(1); if (product.options.length === 3) Shopify.updateOptionsInSelector(2); return true; }); // When there is an update in the second dropdown. jQuery(“.single-option-selector:eq(1)”).change(function() { console.log(‘SECOND OPTION :: ‘ + $(this).val()); if($(‘body’).attr(‘id’) === ‘riddell-speed-victor-i-youth’) { checkFacemaskSize($(this).val()); } if (product.options.length === 3) Shopify.updateOptionsInSelector(2); return true; }); }; var selector = jQuery(‘.single-option-selector:eq(0)’); selector.trigger(‘change’); }); ]]> “) ]]>
Source