Vendor Per Product Tax

Raju The Cool Guy 0 minutes, 42 seconds

Setting up taxes and tax rates is one of the first tasks you want to perform when setting up a store. However, the tax calculation gets carried out by WooCommerc. This document might help you further in how WooCommerce handles the tax :
Therefore, the tax will be either calculated as per admin’s location or customer’s location.

However, for a multivendor site, sometimes a vendor needs to earn tax as per the law in their own state.

As a workaround, this following code will let the vendor add tax per product.

This code will add a section like this scrrenshot :

Now, this code will save the value.

Now, we also add a checking, if a vendor hasn’t added per product tax, then WooCommerce’s tax rule will be applied. For this use this code :

Here is a scrrenshot of the cart page :

Published on - July 19, 2019
Last updated on - August 6, 2019
Add new tab in add product pageModifying Queries

COVID-19 Outbreak: WCMp team is supporting business affected by coronavirus

Read the Message Buy at Slashed Price