According to your country’s laws, you may need to charge different taxes for different types of products. For instance, you may need to calculate sales tax differently for alcohol and non-alcohol products.

X-Cart 5 allows you to have tax classes. By using this feature you can organize your products into groups according to what sales tax rate calculation rules need to be used for them.

For example, if you have a food store selling both alcohol and non-alcohol products, and you need to calculate sales tax differently for those two groups of products, you will need two tax classes - one for alcohol products and one for non-alcohol products. To make it work, you will need to specify how tax rates should be calculated for each of these tax classes. You will also need to assign a tax class to every product in your store. This way all the products will have appropriate tax rates applied to them. 

In X-Cart 5, every product needs to have a tax class assigned to it. By default, new products are created with the Default tax class assigned. If you expect all of your store’s products to use the same tax rates, you do not need to create any additional tax classes - just use the Default tax class for all rates. However, if you are going to have different tax rates for different types of products - like in the example with alcohol and non-alcohol products - then you will need additional tax classes.

This article covers:

Creating tax classes

To create a new tax class:

  1. Open the Tax classes tab in the Taxes section (Store setup > Taxes) of your X-Cart admin area:  tax-class-new.png

  2. Click the New tax class button. This adds a new blank field below. tax-class-blank.png

    You can click more than once to add multiple fields.

  3. Use the field you have added to enter a name for the new tax class (e.g. “Alcohol” on the sample) and Save changes: tax-classes-alc.png

That’s all, the tax class has been created: tax-class-created.png

Now you can assign it to products and configure tax rates for it. 

Configuring rates for tax classes

To configure rates for tax classes:

  1. Open the Sales tax tab in the Taxes section (Store setup -> Taxes) of your X-Cart admin area and click the New rate button in the General tax rates section: new-rate.png

  2. Fill in the fields in the new rate line that will appear: new-rate-1.png

    • Zone : Select the zone from a drop-down the tax is applicable to.
    • Tax class : Select the tax class applicable.
    • Rate : Set the tax rate in %.
  3. Click Save changes.

That’s it, a tax rate for a tax class is created.

tax-class-1.png

Assigning tax classes to products

Once you have created the tax classes you require, be sure to assign them to products.

To assign a tax class to a product follow instructions below:

  1. Choose a product you need to assign a tax class to in the Catalog -> Products section of your X-Cart admin and open this product’s details page for editing.

  2. Locate the the Tax class field in the Prices & Inventory section of product details and select the tax class you want to assign to this product. xc5_taxclass_tax_class_assign.png

  3. Click Update product.

Once the tax class has been assigned to a product, this product will use the tax rates defined for this product class.

If you need to assign a tax class to more than one product at a time use the “Products Bulk Edit” feature.

Related pages: