Limit Which Products Can Use the WooCommerce USPS Shipping Gateway

Recently a member of the Advanced WooCommerce Facebook Group asked:

“I wanted to see if it were possible to limit which products can use the Woo USPS plugin shipping…”

There is almost always an option to purchase an extension from that offers the needed functionality. In this case that extension would be WooCommerce Conditional Shipping and Payments. The benefit of using an extension like this is, it will be maintained for you by the author of the plugin.

In some cases a premium plugin offers way more code than needed and it may be worth a custom solution. I have written a quick set of functions that achieve the OP’s request:


Add this code snippets can be added to your theme / child-theme’s functions.php file.

Before adding the snippets, make sure you clear your WooCommerce cache ( WooCommerce → System Status → Tools → WC Transients → Clear transients ), as shipping methods are cached.

How to Create a New Customer When Admin Places an Order on the Frontend Checkout Form


There are many great reasons why I work with WordPress and WooCommerce. These reasons include the pleasant user experience during customer checkout. And the familiar UI for the shop manager.

Recently I was working on a WooCommerce powered booking system. The client catered to an older demographic. They often processed new bookings over the phone, and use an in office payment processor, which meant they had to enter the new booking into WooCommerce manually, and bypass the payment gateway.

After a few attempt to teach them how to use the WordPress UI, they asked me why they can not use the super simple checkout form that we created for customers. This left me with a need for them to be able to log in as admin and place an order that would be associated with a customer and not their own admin user.

This is what I came up with:


WooCommerce is the most popular WordPress eCommerce plugin. It holds this title for a few reasons.

  1. It is available for free.
  2. It is packed full of features.
  3. It is perfectly integrated into your self-hosted WordPress website.

But why do we like WooCommerce so much that we decided to make it one of the main things we use in our business? Well thats easy. We love that cute, big headed ninja they use as their mascot!

OK, seriously. We like WooCommerce because it extends WordPress giving the only platform we use a robust shopping cart feature. WooCommerce fully respects and complements how WordPress works, taking full advantage of what makes WordPress so powerful as a CMS. It also features clean modern code that is constantly being updated with improvements and fixes.

WooCommerce is open source like wordpress (we here at 211j are big fans of open source software).

WooCommerce has a large community with over 3 million downloads and counting. We believe this helps keep the extension working well and the fact that it has a loyal customer base means a lot. You can’t argue that WooCommerce isn’t popular.

When we started our web development company Leon and I decided that going with one type of eCommerce extension was a good idea because it allows us to be experts in that extension. We had a choice as to which one we would choose. After carefully considering the options we chose WooCommerce and 2 years later we couldn’t be happier with the choice we made.

Google Trusted Stores for Woocommerce Extension Released

Google Trusted Stores for WooCommerce

UPDATE 08/01/2014: This extension has been acquired by another company. If you are interested in integrating Google Trusted Stores with your WooCommerce, please contact me at leon @ this domain, or got my contact page.

I created an exciting new plugin called Google Trusted Stores for WooCommerce. The plugin is designed to help with the demanding process of setting up a Google Trusted Stores account with WooCommerce.

Google Trusted Stores is a service that provides authentication of reliable shipping, customer service, and free purchase protection.

WooCommerce is one of the most popular WordPress eCommerce plugins. It is packed full of features, perfectly integrated into your self-hosted WordPress website.

Google Trusted Stores for WooCommerce Plugin enables Google Trusted Stores badge for woocommerce online stores. The Google Trusted Stores badge gives your site credibility from Google database information.

The benefits of the Google Trusted Stores with WooCommerce plugin are abundant. Not only does it combine the power of WooCommerce with reliability of Google Trusted Stores, but it also minimizes the time it takes to set up Google Trusted Stores. Google Trusted Stores for WooCommerce does things that require daily maintenance by automating them to specifications.

From my point of view, Google Trusted Stores for WooCommerce is really about giving the user something that is priceless, time to do other important things. I realize that in the development of eCommerce sites there is always something else to do and it is our goal to make things take as little time as possible. That is why I created this plugin and strive to make more that can save time and aggravation.