No products in the cart.
I only need the live USPS rate for a specific shipping class, to ensure it does not show up for other shipping class
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.
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.