What can we help you with?

I only need the live USPS rate for a specific shipping class, to ensure it does not show up for other shipping class

Customer :

I was looking at the demo for the USPS Shipping Plugin and did not see where you could limit it to only show up in the cart for a specific shipping class. I need to know if this is supported and I am just missing it?

Basically, I have products I personally ship that I would need this plugin for. However, a percentage of my products, ship from other locations. As a result, I only need the live USPS rate for a specific shipping class, to ensure it does not show up for other shipping class I have set specific flat-rate pricing for because the shipping is from a different location.


Support :

As you mentioned that you want USPS live rates for specific products, in that case, we can provide you a code snippet for hiding the shipping service.

You need to define two shipping classes, let’s say SHIPPING CLASS A and SHIPPING CLASS B.

Shipping class A will contain all the products for which you want USPS live rates and for Shipping class B will contain the products for which you don’t want USPS live rates.

You can use the following code snippet for hiding USPS rates for Shipping class B.

Read How to hide or disable a WooCommerce shipping service?

Previous Trying to figure out how to offer media mail for free
Next Why are the shipping labels for these Plug-ins (USPS/UPS) not being paid from my accounts

2 Comments. Leave new

You must be logged in to post a comment.