GST India: How to easily setup GST for WooCommerce (in WordPress)


GST came into force on 1st July 2017 in India. With this, entrepreneurs/shopkeepers/businessmen are expected to generate GST receipts/invoices for customers. With that came both praise and criticism for one of India’s largest fiscal reforms. One of the major reasons for the praise was that it eliminates the cascading tax effect, making the lives of businessmen and traders easier and one of critiques being that India wasn’t ready (technically), yet, for such a huge change.

Usage of the WordPress+WooCommerce combo is at large and a lot of entrepreneurs use this combination for e-commerce across the globe. With GST coming into force in India — at the time of writing this article, there is no other solution for GST implementation in WooCommerce. How do we know? Last evening, we received a call from one of our e-commerce clients. Their website is built by us in WordPress and uses WooCommerce for the e-commerce bit.

Guys, we need to setup GST invoicing anyhow soon. Otherwise we will start facing losses. Please figure out a solution as soon as possible.

Now, the first thing that any of us with a WordPress website with WooCommerce would do is to check whether a plugin or a solution exists for the problem at hand. We did just that. After spending an hour searching, we know that there is no other solution available at the moment. Outside of the WordPress context, there are a lot of other softwares, across various domains, which are yet to be updated to handle this transition of epic proportions called GST in India. It was no surprise that my search for a solution for GST in WordPress availed no results. Today, we’ll show you how to do the most basic setup for GST in India on WooCommerce in WordPress. Please note, that I’m stressing on basic. It may not cover all your expectations, but it will keep you in compliance with GST and you will not face losses because you couldn’t charge GST, atleast. And yes, you do not need to install an additional plugin while using this solution.

Base store location is Maharashtra, Shipping Address in this case set to Maharashtra; hence GST (CGST+SGST) automatically calculated. We’ve figured it out :-)

This method of setting up GST in WooCommerce would help you if you’re one of these people:

  • Don’t wish to change the prices of all the products in their WooCommerce store to include GST.
  • Are looking for a quick-fix implementation of GST and IGST in their WooCommerce store.
  • Wish to just charge GST for Indian customers; but not customers abroad.

Before we begin, here’s a glance at what we will achieve by the end of this article:

  1. GST/IGST will be calculated automatically during checkout
  2. GST/IGST will be shown on the invoice
  3. How to add GSTIN number on the invoice

A lot of things are easier when explained using a scenario. So, lets take our client’s scenario:
Client has a couple of brick-and-mortar apparel stores in Maharashtra spread across multiple cities and their e-commerce website has 200+ products.  They ship products pan-India. This brings GST (which is CGST+SGST) and IGST (Integrated GST) into the picture. The client also ships their products abroad.

Let’s begin. Stepwise:

    1. Login to WordPress and head over to WooCommerce > Settings
    2. Visit the Tax tab in once you’re there. And set the following settings according with the values shown in the next image
      Here, if you wish to show prices inclusive of GST during checkout, select ‘Including Tax’ in the ‘Display Prices During Cart and Checkout’ option
    3. Now, head over to Standard Rates; link to which is right under the Tax tab
    4. Download this file (gst_woocommerce_tax_rates.csv) and upload it using the ‘Import CSV’ option. It contains all the state codes and the rates considering Maharashtra as the shop location for Apparels over Rs. 1,000 which is 12% for GST (CGST+SGST) and IGST; so, modify the CSV file accordingly and then upload. Considering the various possibilities, I’ll leave that to you. Once done, you’ll see that all the tax rates are imported.gst-tax-rates-imported-woocommerce
    5. Finally, you need to display your GSTIN number on your invoice. Follow our simple guide here on how to add your GSTIN number to your invoices.

That’s all. Congrats, your e-commerce shop using WooCommerce in WordPress is set for GST in India. Well, a basic setup, but it’s got you covered for now. If you have multiple tax slabs applicable, continue reading.

Depending on your template, your customers will see the results during checkout.

If your products have multiple GST/IGST slabs applicable basis the price, follow these steps:

The steps mentioned below are for clothing items, wherein if price >1000, 12% GST/IGST is applicable and if price < 1000, then 5% GST/IGST; you can adapt it to your rates. Click on the links to view the screenshots:

1. Select the ‘Shipping tax class based on cart items’ option here:
2. Then, define a new tax:
3. Configure it:
4. (If you have large no of products, go to point 5) Go to each product in your store, edit it and select the tax class: (if you have followed the article and done the setup for the Standard tax, select Standard for products with price > Rs. 1,000 and the new one for price < Rs. 1,000).
5. Bonus tip: Here’s how you can expedite your tax class allocation in WooCommerce. Did you know that you can assign tax classes to your products in bulk? Simply use the bulk edit feature already available in WordPress and you’ll save a lot of time. Use filters at the top of the products view as needed to sort products and also sort by ascending/descending etc. See screenshots below:



Here are some screenshots from our client’s website:

Case 1: Selected the State in Shipping Address as Tamil Nadu; IGST should get calculated.

Case 2: Selected the State in Shipping Address as Maharashtra (this is also the base location of the store); Thus, GST (CGST+SGST) should get calculated.


If you’re looking for any kind of professional help in WordPress, please get in touch with us by pinging us at The KraftPixel team has 7+ years of combined experience in WordPress and is equipped to help you with any WordPress related requirement.

Last modified: Aug 14, 2017 @ 6:31 pm

Useful? Share it with your network:Share on FacebookShare on LinkedInPin on PinterestEmail this to someone

Comments (1)

  1. Gunjan Mittal

    Wonderful! I was looking for this solution for so long!! GST is a big pain.

  2. Rajnish

    Excellent workout. In my case I have multiple tax slabs, like 18 and 28 %. What has to be done in that case

    1. KraftPixel Team
      KraftPixel Team

      Hi Rajnish,

      That’s a good question!

      In this case you need to specify the tax rate on each item after selecting the ‘Shipping tax class based on cart items’ option here:

      Hope it helps!

    2. KraftPixel Team
      KraftPixel Team

      We just figured. The steps are for clothing, where >1000 = 12% GST/IGST and <1000 = 5% GST/IGST; you can adapt it to your rates too:

      1. Select the ‘Shipping tax class based on cart items’ option here:
      2. Then, define a new tax:
      3. Configure it:
      4. Go to each product in your store, edit it and select the tax class: (if you have followed the article and done the setup for the Standard tax, select Standard for products with price > Rs. 1,000 and the new one for price < Rs. 1,000)

  3. Nitin


    Thank you so so very much for your post. This helps a lot. However, in my case, products (clothing) priced below 1,000 rs should attract a 5% GST instead of 12%. How can I address this?

    Your help will be greatly appreciated.

    1. KraftPixel Team
      KraftPixel Team

      Hi Nitin — regarding multiple GST slabs, you need to specify the tax on each item. It’s a little complex, but here’s how you can do it:

      1. Select the ‘Shipping tax class based on cart items’ option here:
      2. Then, define a new tax:
      3. Configure it:
      4. Go to each product in your store, edit it and select the tax class: (if you have followed the article and done the setup for the Standard tax, select Standard for products with price > Rs. 1,000 and the new one for price < Rs. 1,000) You're set! Hope this helped.

  4. Madhavi

    Hi – this does not solve the problem of discounted products. I may set the tax class as 12% for apparel that costs, say Rs. 1200. But at various times, there may be sales running or there may be a coupon discount applied which makes the selling price actually less than Rs. 1000. How do we set up a rule that switches the tax class when the final selling price drops below Rs. 1000?

    1. KraftPixel Team
      KraftPixel Team

      In this case, the multiple GST slab solution is in picture wherein the tax rate has to be set at the SKU/product level. So yes, this is a complex scenario that isn’t handled by the current solution. There are many other scenarios which this free solution for implementing GST in WordPress might not handle. But we’ll get back to you if we find a way to solve your problem, Madhavi. Thanks for joining the discussion!

  5. Sandeep Tete

    Since the list is long and when i import the new csv for 5% rates to newly created tax class it gets imported under standard tax instead of importing under class gst/igst @5%. Can i add a class field in csv and mention the tax class name and use it for every product less than 1000rs.

    1. KraftPixel Team
      KraftPixel Team

      Hi Sandeep,

      Thanks for joining the discussion on our free GST solution for WooCommerce. First, define a new tax here: This will create a new tab under the Tax settings in WooCommerce. Then, simply visit the newly created additional tax class’ tab and upload your CSV there.

      Thus, you need to create additional tax classes — upload the CSV — then go to each product and set which tax class is applicable. In your case, create two tax classes: ‘GST/IGST @ 18%’ and ‘GST/IGST @ 5%’. Then select the former for items above Rs. 1,000 and the latter for items below Rs. 1,000.

      Hope this helps!

  6. Sandeep Tete

    And any idea how to show these gst % on invoice generated through woocommerce please

  7. Madhuri K


    So let us assume your CSV file uploaded as standard rates with base location.What about vendors who are at different base locations.Do i need to upload CSV for all base locations as tax options and different seperate class of 5,12,18…
    So for delhi shipping class with standard rates, zero rate, GST(delhi) 0,5%,12%,18%
    I am bit confused with Explanation

    1. KraftPixel Team
      KraftPixel Team

      Regarding your query, an ideal GST setup for multi-vendor stores is difficult. You should create the same tax class for both GST and IGST —

      5% GST/IGST
      12% GST/IGST etc.

      After this, you need to configure these tax classes for all the states (you will find an excel sheet on our post with all states — you need to modify that file for each tax class that you create).

      Then, you need to go to each product or Bulk Edit products (see article, I’ve added a new point) and assign the tax class. Please note that when the tax class appears on the invoice, it will appear as GST/IGST which is not ideal.

  8. Moiz Lakdawala

    I am using a customization plugin on my website. That customization is optional. If the customer chooses to opt for customization then the product price goes above Rs 1000/- or else product price is below Rs 1000/- How do I change the tax rates from 5% to 12 % if customer chooses to customize the product?

    Thanks In Advance

    Moiz Lakdawala

    1. KraftPixel Team
      KraftPixel Team

      Hi Moiz,

      This will require a custom implementation and might not possible using this method since your pricing is determined by whether or not the customer chooses to customize. We have been developing and designing in WordPress since the last 8 years and we can help you implement this. You can get in touch with us at

  9. Hi,
    I wanted to know about shipping charges. What’s the tax we need to charge on shipping? We are providing free shipping above orders of Rs.2000 but after below that, we need to take shipping from the customer. The tax would be same as that of the product or it would be 18% which is the GST rate for courier companies?


  10. Sandeep Tete

    How to configure GST for other countries, i am trying to get IGST. Please help.

Leave a Comment

Useful? Share it with your network:Share on FacebookShare on LinkedInPin on PinterestEmail this to someone