How to Add Extra Cost to FedEx Shipping Services Based on the States?

With the WooCommerce FedEx Shipping Plugin with Print Label, you can add extra cost to the FedEx shipping services based on the states. In this article, we will show you how you can do that.

The WooCommerce FedEx Shipping Plugin comes with a price adjustment feature that allows the users to make changes in the rates returned from FedEx. They can add or deduct a certain value for each shipping services like FedEx Express Saver and FedEx Ground. This plugin also allows you to adjust the returned shipping rates by a percentage value. This is a very nifty and important feature that will help store owners to achieve their business case.

However, there are times when some of the store owners tend to refine this feature. They do this because they are in the need to implement their business scenario. And with the help of a code snippet, store owners can easily modify the returned shipping rates. Following is one of our customer’s requests which have proven to be quite popular.

Customer: I wanted to know how I can set up specific zones for my site using the plugin? How can we configure the western states of the United States of America to use the FedEx Ground, but add a handling charge to it (approx $35-40)?

In this article, we will show you how to achieve the above or similar business cases. So, let us quickly dive right into it.

By using the above code snippet, you can provide an adjustment value based on the country and state. In the code snippet, you can see that for the country “US”, states “NY” and “CA” have been adjusted with a value 10 and 10 respectively. This way if a customer from any of the two states goes to the Cart/Checkout page then $10 will be added to the total shipping cost.

You can define other states by entering the state code. For instance, Georgia has a state code GA. Similarly, for the country “CA”(Canada), a global adjustment value can also be provided using this code snippet. And in the code snippet, we have defined this value to be $10. You can configure the rates for other countries as well.

Have a look at the following video that demonstrates how the plugin shows the adjusted shipping rates in real-time.


If you have any query regarding this article or the integration of WooCommerce FedEx Shipping plugin with your WooCommerce then feel free to share your views in the comment section below. We will be more than happy to help you understand how this plugin can work together in fulfilling your shipping requirements.

Or in case you are wondering what more does the WooCommerce FedEx Shipping plugin serve, I would request you to kindly visit the official product page here. If you need assistance regarding our plugins, you can also contact our support team. We are always happy to help.

About the plugin…

WooCommerce FedEx Shipping Plugin with Print Label

Cost: $69.00

  • WooCommerce requires at least 2.6 up to 3.2.
  • The license entitles 1 year of support & updates.
  • No monthly fees or yearly subscription.
  • Extend support & updates after 1 year at 50% discount.
  • Protected by 30 Day Money Back Guarantee.