This page is secure.

German Food Box

German Food Box

######################### $(document).ready(function() { $("#summary-recurring-charges").remove(); $(".form__section--shipping-information h3").remove(); $(".form__field--phone").remove(); $(".form__field--organization-name").remove(); $( document ).ajaxStop(function() { $("#summary-recurring-charges").remove(); $("#subscription_customer_attributes_state option[value='AS']").remove(); $("#subscription_customer_attributes_state option[value='GU']").remove(); $("#subscription_customer_attributes_state option[value='MP']").remove(); $("#subscription_customer_attributes_state option[value='VI']").remove(); $("#subscription_payment_profile_attributes_billing_state option[value='AS']").remove(); $("#subscription_payment_profile_attributes_billing_state option[value='GU']").remove(); $("#subscription_payment_profile_attributes_billing_state option[value='MP']").remove(); $("#subscription_payment_profile_attributes_billing_state option[value='VI']").remove(); }); //modern pages RECEIPT PAGE ONLY if ($('.public-signup-page__success').length === 1) { !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); //Replace 123456789 with your real number fbq('init', '204322446724813'); fbq('track', 'PageView'); fbq('track', 'InitiateCheckout'); } $("#use_shipping_address_1").trigger("click"); $(".form__field--credit-card-cvv label.form__label").html('CVV *   Help?
'); $('#subscription_customer_attributes_country').find('option').remove(); $('#subscription_customer_attributes_country').append(''); $('#subscription_customer_attributes_country').change(); $('#subscription_payment_profile_attributes_billing_country').find('option').remove(); $('#subscription_payment_profile_attributes_billing_country').append(''); $('#subscription_payment_profile_attributes_billing_country').change(); $(".form__section--configure-plan h3").html("How many boxes per month?"); $(".form__section--customer-information h3").html("Shipping Address"); $(".form__section--coupon h3").html("Coupon Code (if applicable)"); }); //Force shipping component to have the same allocation as "German Food Box" $( document ).ready(function() { $("#component_allocated_quantity_313613").val(1) $("#component_allocated_quantity_390108").val(1); setTimeout(function(){ $("#form__section-apply-components").click(); }, 600); }); $(function () { var component1 = $('#component_allocated_quantity_313613'); var component2 = $('#component_allocated_quantity_390108'); component1.change(function(){ component2.val($(this).val()); }); }); //This checks for when the component is changed var mincomponent = 'input#component_allocated_quantity_313613' $(mincomponent).on('change', function() { var minimum = $(mincomponent).val(); if (minimum < 1) { $(mincomponent).val('1'); } }); $('body > div > div.content > aside').addClass('content__secondary open'); $(function() { if(document.getElementsByClassName("error-message").length > 0) { var errorAtTop = $('One or more required fields were not filled out. Please review the error messages below.'); errorAtTop.css('color', 'red'); $('#signup_form').prepend(errorAtTop); } }); $(function() { var submitBtn = $("#subscription_submit"); submitBtn.html('ORDER'); }); $('#accept_terms').prop('checked', true); $(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-79516524-3'); //]]>