We're doing some modifications on the checkout page to add custom input fields so the client can gather some additional information on checkout. There's going to be a custom text input field named "Shipping_Account". If a customer enters information into this field, we need to hide the real-time shipping Methods (i.e. USPS Standard Post $12.23): http://screencast.com/t/M7ChOBqwou
In the past we have used the JSON to detect if the combined product weights are in excess of a certain weight when passing info from the cart to the checkout (and thus making updates on the checkout page, i.e. https://forum.foxycart.com/discussion/4713/using-json-to-showhide-custom-input-fields#Item_16
). But is it possible if we're not passing over a value from the cart to the checkout but are instead making an update on the checkout page to now hide the shipping options? I was thinking of updating the JSON information with a category named "no_shipping" which is configured in the Foxy Cart admin to not add shipping. Is that possible? If so, is there any code in the FC library that handles a function like this you can recommend? I just want to make sure if we make that update, the shipping will disappear and not force the customer to choose a shipping option before they can checkout.