How do I set up a default tax class for new products?

Save time by pre-setting a tax class for product creation

Question: Is there a way I can get the system to select a certain Tax class automatically when I’m adding a product?

Answer: Yes - here’s how:

  1. Find out the tax class ID number in Admin > Locations/Taxes > Tax Classes. (It’s the number on the left hand side.)

  2. Go to Admin > Catalog > Product Types > Layout Settings for the product type you’re using (probably Product - General)

Choose Product Price Tax Class Default - When adding new products? and enter the tax class ID number you obtained in step 1 above.

Next time you add a product, the tax class is pre-selected.

If you want to do an audit of your database to see if any products are mis-coded, you can use a query like this:

SELECT p.products_id, pd.products_name FROM products p, products_description pd WHERE p.products_id = pd.products_id AND products_tax_class_id != 1;

(This assumes that “Taxable Goods” is Tax Class id “1”.)




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified May 5, 2022 by Scott C Wilson (b178b88).