WooCommerce UPS Shipping plugin – Get UPS Shipping rates and Free Shipping based on the Category of Products
In this article, we will be discussing WooCommerce UPS Shipping plugin and how using that plugin you can easily provide UPS shipping options based on one shipping class and Free Shipping to others.
WooCommerce store owners may offer their customers more than one shipping option based on the demand, shipping cost and many other factors. However, handling the same scenario in WooCommerce is a pretty difficult task.
According to Matt, a WooCommerce store owner,”…Hello, I have a query regarding the WooCommerce UPS shipping plugin. Is there any way I can provide shipping options based on a shipping class? I don’t need the UPS rates for all products? Only one product category needs UPS rates. I have 2 shipping options,
1) Free Class These are assigned to all Free shipping products
2) UPS Class These are assigned to all products I ship via UPS.
I need UPS shipping on all products excluding chairs which will be free. Is this possible with this plugin..? Thanks..!”
Hide UPS Shipping options
Since Matt is providing UPS shipping as well as Free Shipping, it is necessary that these shipping options don’t get mixed with each other. Hence, in order to do that, we will be using a free add-on with the WooCommerce UPS Shipping plugin. Using WooCommerce Hide Shipping Method Based on Shipping Class and Zones Add-on, Matt can easily show the dedicated shipping options based on his shipping classes. This way he can get the UPS shipping options for the shipping class UPS and Free Shipping for the Free shipping class.
Skipping Free Shipped Products
Based on Matt’s scenario, one thing is sure in his case, in case there are two products in the cart from both the shipping classes – UPS and Free, there should be no extra shipping charges for the product which is under the Free shipping class. Matt can easily achieve this using the code snippet from this link. Using this code, whenever there are products with both the shipping classes available in the cart, all the products from Free shipping class will be skipped from UPS shipping calculation.
In other words, the shipping rates will be calculated for the products which are in the UPS shipping class. This way Matt will be able to achieve his complex looking shipping scenario.
So this article covers WooCommerce UPS Shipping plugin. With the help of this article, you will be able to handle a shipping scenario when the store owner wants to show shipping rates based on a particular category of products. With the help of this article, you will be able to setup UPS Shipping Rates along with free shipping on your WooCommerce store.
If you have any suggestion regarding the article, feel free to share your views in the comment section below. We have also attached some details about the plugin that we had discussed in this article.