Sorry! Internet Explorer is not supported on this site. Please view on Chrome, Firefox, or Edge.

Having fun at Zao is one of our values. We’ve put limited animated flourishes throughout our site to communicate our love of levity. We also recognize that onscreen movement is not fun or possible for everyone. We've turned off all our animations for you per your browser's request to limit motion. That said, we don't want you to miss out on the party.

Here's a funny joke to enjoy!

What’s a pirate’s favorite letter?

You think it’s R, but it be the C.

WP eCommerce: How to Conditionally Remove Shipping Fields from the Checkout Form

It seems obvious that if your cart has no shippable items, you shouldn’t ask for shipping fields, right?

Well, sort of. The approach we currently take in WP eCommerce (though we could be dissuaded) is to always show all checkout fields on checkout.  The reason for this is actually pretty simple.  As a store owner, the more data you have on your customer, the better. Even though they may purchase something, at some point, that doesn’t require shipping – that’s nice information to have.  Not just for you, but also for their future purchases that may include shippable items.

That being our rationale, I get the opposing perspective, and actually appreciate that it’s a better UX that would probably increase conversions.  To that end, this is a good way to conditionally remove shipping fields from your checkout process in WP eCommerce if they aren’t necessary.

Note: This works really great if you’re running WP eCommerce 3.9 or later.  It works really not great if you’re not.

Join the Conversation

2 Comments

Leave a comment

Your email address will not be published. Required fields are marked *