Originally Posted by edadk If you're really adventurous, you can change the value for all products at once in phpmyadmin. Back up your database first, this is very important!!!!! Then enter this command in the sql section of phpmyadmin: update products set products_tax_class_id = 1 Ed I type it exactly like that? update products set products_tax_class_id = 1
Originally Posted by TShooters From this FAQ article: https://www.zen-cart.com/tutorials/index.php?article=76 Ooops...that's for new products. Thought I'd found something there. Yeah I already configured my taxes for every new product I add, the tax Id is set to 1
Originally Posted by chris32882 I type it exactly like that? update products set products_tax_class_id = 1 Yes, that will change every product in your store to be a taxable item. Again, please back up before ever doing anything with phpmyadmin. Ed
Originally Posted by edadk Yes, that will change every product in your store to be a taxable item. Again, please back up before ever doing anything with phpmyadmin. Ed Alright, I backed up my database and tried inputing the above in a query and this is what I get returned #1146 - Table 'tms_zc1-back-1226445866.products' doesn't exist
Last edited by chris32882; 20 Nov 2008 at 07:35 PM.
Originally Posted by chris32882 Alright, I backed up my database and tried inputing the above in a query and this is what I get returned #1146 - Table 'tms_zc1-back-1226445866.products' doesn't exist my site was backed up before and thats the name of the backup tms_zc1-back-1226445866
Originally Posted by chris32882 Alright, I backed up my database and tried inputing the above in a query and this is what I get returned #1146 - Table 'tms_zc1-back-1226445866.products' doesn't exist Do your tables have a prefix? If so, try adding your prefix to the front of the table name like this: update sometableprefix_products set products_tax_class_id = 1
Originally Posted by edadk Do your tables have a prefix? If so, try adding your prefix to the front of the table name like this: update sometableprefix_products set products_tax_class_id = 1 have no idea man , don't really mess with sql much, hrmmm
Originally Posted by chris32882 have no idea man , don't really mess with sql much, hrmmm In that case it might be better to stick with using admin to change each product individually. Ed
Originally Posted by edadk In that case it might be better to stick with using admin to change each product individually. Ed its like any other installation of Zen-Cart the prefix should be the same Im assuming?
Just want you to know the prefix was zen I added: Code: update zen_products set products_tax_class_id = 1 now should it of been update products set products_tax_class_id = 1 normally
update zen_products set products_tax_class_id = 1
Forum Rules
Bookmarks