Hide Zip/Postal Code Entry on Cart

The following CSS styling allows you to hide the calculate shipping/taxes address entry on the cart. Shipping and/or taxes will still be calculated on the checkout - but this can be useful if you want to remove some of the requirements for customers on the cart.

Note: If you are accepting payments by PayPal Express Checkout, the Sidecart currently requires that the customer complete their shipping address on the cart before it will allow them to proceed to PayPal from the cart. As such, we would recommend leaving the address entry in place if you're using that payment method from the cart.

Apply the snippet to your configuration

  1. Copy the style at this link onto your computer's clipboard: https://pastebin.com/raw/iL19mX3d
  2. Go to the “configuration” section in your FoxyCart admin. Here's a link to that area: https://admin.foxycart.com/admin.php?ThisAction=TemplateConfig
  3. Scroll down until you see custom header under Add custom header and footer code to your templates (you may need to check the box to get the custom header input to appear. You may see some code already in the text area. You can paste the code that you copied to your clipboard into the top of that box (take care not to remove anything that's already there).
  4. Scroll down until you see the Update button and click to save.
  5. Run a test through to ensure that it works as expected.

Site Tools