Blog Thumbnail

How to set up Product SKU based flat rate shipping method in WooCommerce?

When you want to apply different flat rate shipping charges on just one product, things become difficult. As there is no method to make it happen, you will either have to have this functionality developed for your e-commerce store. Or, you will have to find an existing plugin, which could make it happen.

Better is to go with a plugin, and best is to use Advanced Flat Rate Shipping Method for WooCommerce. This plugin will let you set product SKU based flat rate shipping methods and a lot more conditions for your e-commerce store.

In this guide, you will learn about the product SKU based flat rate shipping methods in different cases. However, before you need to install the said plugin (use the above link). Once you’re all set to follow the steps with us, let us begin.

Product SKU based flat rate shipping method

Part 1: Adding Shipping Method

First of all, enable the Flat Rate Shipping Plugin from the WordPress dashboard.

You will then find a link to the plugin in the left sidebar of your WP Admin. Click on it and select ‘Add New Shipping Method.’

Flat rate plugin

Fill out the form, which will open up on clicking this button.

For enabling free shipping to any of the cases:

Just set the value of shipping charge to zero and save the settings. Free shipping facility is enabled. Was it tough?

Part 2:  Adding to a Shipping Method

Once you have filled the important details and shipping charges, it’s the time to decide that which products should be affected by this setting. For that, you will have to add rules to your method.

How to Handle Product SKU’s based flat rate shipping method?

Case 1: Adding shipping charges as per Product SKU

For decided the flat rate shipping charges by SKUs, it is pretty clear that we will be adding one rule related to SKUs only.

Add a rule, as shown in the figure –

How Do I Set Up Product SKU Based Flat Rate Shipping Method In WooCommerce Store 3

Save the method and your selected SKU will now be charged the new shipping rate, as you have just set.

Case 2: Adding shipping charges as per Product SKU for a country (or multiple countries)

This rule helps you to handle the business worldwide, especially when you are selling your services or products globally.

After completing all the steps, as performed in case 1, you will have to add another country-based method (as shown in the figure):

ALSO READ:  Here’s how to add extra flat rate feature in a WooCommerce Store.
woocommerce flat rate shipping based on product sku country

Once saved, your method will work for those cases, where a Product with a selective SKU is sold to your selected country.

In a similar fashion, you can apply the same shipping rule (related to product SKU) to multiple countries’ purchases. Just fill names of multiple countries in the box, placed opposite to ‘country’ drop down.

The form will look like this:

woocommerce flat rate shipping based on product sku country1

Case 3: Adding shipping charges as per Product SKU for a state (or a zip code or multiple states or multiple locations)

Instead of choosing country, as we did in the previous case, follow the given procedure:

  • Select the ‘state’ from drop down box.
  • Fill in the states’ names in the text box.

woocommerce flat rate shipping based on product sku country2

Similarly, you can choose the ‘zip code’ option from the dropdown and set the condition for multiple cities.

For applying the same setting of product SKU based shipping rate, you can create a shipping zone and then, apply the method to that zone.

Case 4Adding shipping charges as per Product SKU for a specific user role

To provide special discounts to a set of buyers or to charge extra from some distant buyers, you can assign a user role to them. Afterward, a rule could be created as shown in the image:

Adding shipping charges as per Product SKU for a specific user

Case 5: Adding shipping charges as per Product SKU for a specific user

If you want to apply specific shipping charge to one user specifically, select ‘user’ from drop down box and fill its primary key’s value in the opposite field.

Adding shipping charges as per Product SKU for a specific user role

How will this shipping work with Customer’s Cart and how will it look like?

In an e-commerce store, products are differentiated as per their SKUs.

Let’s say, you want to charge your buyers with a shipping charge of $5. How will you apply this constraint?

Well, if using our Advanced Rate Shipping Methods Plugin, you can achieve so.

Just create an SKU-based method and apply the rules you want.

For example, we have added $5 off shipping charge on the SKU of a WordPress Pennant and a buyer has added it to her cart. Now, view this cart –


You can see the shipping charges, applied to the cart; right?

It is that easy to use!

Do you have more queries related to Advanced Flat Rate Shipping Method for WooCommerce? Ask us in the comment box.

Tag: , , , , , ,
Category: Flat Rate Shipping, table rate shipping, WooCommerce Shipping, WooCommerce Tutorials
Author Pic

About Nimesh Patel

I am a Product Marketer and Growth hacker with expertise in the areas of Digital marketing; Search engine optimization (SEO), Email Marketing, Paid Campaigns on Facebook and Twitter, Content development strategies, Competitive Research & Analysis. Nimesh is Product Manager at

  • Author George W-7818 profile picture
    George W says:

    Questions about the Ship Methods by SKU forr WooCommerce

    Very much like the concept of your plug in and assigning SKU’s into the ship methods vs. assigning ship methods into each SKU as the WooCommerce upgrade plug in does. So, I have several questions for you and will probably follow with a few more, because our checkout and presentation in the Totals box have been customized and we want to avoid losing those enhancements or re-writing them into a replacement. I need you to be straight with me on your answers – all relate to WooCommerce:
    1) Does Country select (ie. Canada, Mexico, etc.) enable Shipping Methods by province/state, etc. for those countries, as it does for US based on state?
    2) Does your plug in replace the existing shopping cart totals box in text and function?
    3) We have free shipping coupon codes set up that override shipping charges, that can be entered at Checkout or they are defaulted in by User Roles, if they have an established account with us. If for instance, the User Role is free shipping. That overrides any shipping calculation at checkout, regardless of the Ship Method. Can we continue to do this, or would we need to additionally setup your plug in so that if that User Role is “freeshipping” that regardless of the SKU and assigned ship method, the checkout would not calculate shipping.
    4) I just need to understand, in my own mind, how much work our support developer/consultant would need to do to implement your plug in vs. the upgraded WooC plug in. Our website is:, so you could look at the checkout totals box. I don’t think it is different than the standard box, but our customizations to date have been how and what text we feed into that box and the sequence we present it in.
    5) Once we implement your plug in, do we just clear out the basic WooC Ship methods?
    6) How do we license it? Couldn’t find a link for that.

    Please advise and thank you! PS. Prefer you keep this correspondence confidential.

    • Author mdnimesh-7825 profile picture
      mdnimesh says:

      Hi George,

      Thank you for reaching out to us. We will reply to you by email.

      Best regards,