Search Knowledge Base by Keyword

Ship Certain Items with FedEx and Provide Flat-Rate Shipping for others using WooCommerce FedEx Shipping Plugin

In this article, you will learn how to display FedEx real-time shipping rate at a cart page for most of the products and a flat rate for some of the products. We will discuss a unique case where an online seller wants to hide certain shipping rates for some products using shipping class.

Understanding the Business Case:

WooCommerce FedEx Shipping Plugin is the best shipping plugin for an e-commerce store based on WooCommerce. This plugin helps in automating the shipping by showing real-time shipping rates at a cart page, print shipping label within WooCommerce and Enable tracking.

To understand this use case, let’s check out a query from one of our customers. This should help you get an idea of it.

We will be using FedEx for shipping most of our product, but there are a couple small products, such as small stickers that we would like to ship in a regular envelope and charge a flat rate for it. How can i achive this?

In the above case, the user wants to show flat rate when the small product (in this case “sticker” ) is at cart page. For all other conditions, they want to show real-time FedEx rates at a cart/checkout page. So basically you will have three conditions:

si no Conditions Required rates at a cart page
1 Only small products are added to the cart Flat- Rate
2 Regular products ordered without a small product FedEx real-time rates
3 Small and regular products ordered together FedEx real-time rates

Solution Using WooCommerce FedEx Shipping Plugin

You can solve the above cases by using WooCommerce FedEx Shipping Plugin. The first step would involve adding two shipping class one for small items and for the rest of the products you can create other shipping class.

Adding shipping class

To hide shipping rates at a cart page Along with WooCommerce FedEx Shipping Plugin you need to have a Hide Shipping Methods free addon.

Using this addon along with the WooCommerce UPS plugin, you can hide shipping methods based on certain shipping zones. Let’s take a simple example to understand this feature.

Now go to Manage Shipping Methods and add two shipping Rate Option. One to hide flat-rate for small items and hide FedEx shipping method for Small items. Also, enable Break on first Occurance. You can refer to the image below:

Hiding shipping methods

You can watch this video to learn how to hide the shipping method at a cart page based on shipping class.

Now let us place test orders and check our cart page for the diffrent cases. For testing, I have added “Bjorn Tee SS Jack & Jones” as the regular item and “CAP” as a small item in shipping class.

1st case: Add only small item to the cart

Case1: for shipping small items

2nd case: Add only regular item to the cart

case 2 for shipping regular items

3rd case: Add both regular and small product together

Case 3 for shipping both regular and small items together


We hope this short guide would help you display FedEx shipping rates based on WooCommerce shipping class using WooCommerce FedEx Shipping plugin. Please check out the product page to know more about other features.

If you have any doubts or need help setting up FedEx shipping on your WooCommerce-based website then feel free to Contact PluginHive Customer Support. Our support team should be able to help you out.

Happy selling!


Last Updated On July 08, 2019