Exclude Gift Products from being Charged for UPS Shipping on your WooCommerce Store

This guide will discuss the WooCommerce UPS Shipping plugin and show the steps to exclude certain products from being charged for shipping by UPS and offer Free Shipping instead.

Business Case: Exclude products from being charged for UPS shipping

WooCommerce store owners have a variety of products on their store, some of which don’t require an applicable shipping cost. Store owners would rather prefer shipping such products for free to execute their business requirements. Let’s take a real business case to understand this better.

According to Mark, a WooCommerce store owner,

We are using WooCommerce UPS Shipping plugin and want to exclude “Gift Certificate” products from being charged for shipping. How do we put/assign Free Shipping option for such products? Ideally, if there are regular (not free shipping) products in the cart, the shipping amount should be for the products that have no free shipping.

Solution using WooCommerce UPS Shipping plugin

The first and foremost step is to create two different WooCommerce Shipping Classes, say ‘Free Shipping’ and ‘UPS’. Have a look at the screenshot below for your reference.

As you can see, we’ve created two separate shipping classes under the Shipping classes section available under WooCommerce → Settings → Shipping.

Now, you need to assign the ‘Free Shipping’ class to Test Product 1 (the product which requires Free Shipping) and ‘UPS’ class to Test Product 2 (the product which requires UPS rates).

After assigning the two products to their respective shipping classes, it’s now time to skip the Test Product 1(Free Shipping products). For that, you need to go to the plugin settings and select the ‘Free Shipping’ class under the ‘Skip Products‘ field. Check out the image below for your reference.

Now you need to create a desired shipping zone under the WooCommerce Shipping Zone option in order to create the Free Shipping option. As you can see in the image below, we’ve created a shipping zone called ‘United States’ and added the ‘Free Shipping’ method.

The above steps will help you display skip UPS rate calculation for “Gift Certificate” products and also show the ‘Free Shipping’ method when Gift Certificates are alone in the cart. However, the point needs to be noted is the ‘Free Shipping’ method will still be shown as an option for UPS products as well. So if you want to hide ‘Free Shipping’ for UPS products, then you can hide the ‘Free Shipping’ method based on UPS shipping class using the “Hide Shipping Methods” addon.

So the next step is to download and install the Hide WooCommerce Shipping Methods Based on Shipping Class and Zone by PluginHive. This add-on will help you hide shipping methods based on Shipping Class and Zone. It works in conjunction with any of the shipping plugins from PluginHive like FedEx, UPS, Canada Post, etc., You can check out the following video to see how does this add-on hide shipping methods based on different Shipping Classes.

Once done, your requirements will be fulfilled. You can see the respective results below:

Scenario 1

When Free shipping products are alone in the cart.

Scenario 2

When UPS shipping products are alone in the cart.


Scenario 3

When both Free shipping and UPS shipping products are together in the cart.


So in this article, we discussed how to skip/exclude shipping calculation for certain products in a WooCommerce store using the WooCommerce UPS Shipping plugin in combination with the Hide Shipping Methods Add-on by PluginHive.

If you have any suggestions regarding the article, feel free to share your views in the comment section below. And if you have any doubts or need help setting up UPS Shipping on your WooCommerce-based website then feel free to Contact PluginHive Customer Support. Our support team should be able to help you out.

Good Luck! 😊 

Last Updated On July 30, 2019