Zen Cart Logo
Forums / General Questions / Mass tax class change?

Mass tax class change?

Locked

Views: 3,098

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
29 Mar 2007, 5:59 AM
#1
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Mass tax class change?

Hello,

Was just wondering if there is an easy way to make sure ALL products are TAXABLE GOODS by default. I've already set it up so it selects it automatically for new products but I just found that there are many products that still have NONE selected. Is there an easy way to change this on all products without going into each product?

Thanks! :P

29 Mar 2007, 11:24 AM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Mass tax class change?

Using Easy Populate, download your database, edit it locally (copying and pasting the tax class) and upload it back to the live site. It's very quick and easy. Read through the EP support thread first if you've never used it before.

Rob

Breakfast: the most important donut of the day.

29 Mar 2007, 6:47 PM
#3
dizz avatar

dizz

Zen Follower

Join Date:
Oct 2006
Posts:
170
Plugin Contributions:
0

Re: Mass tax class change?

Alternatively you can run an UPDATE query in SQL on the table/field that you want to change. It may save you time and frustration of installing a mod...

11 Apr 2007, 8:22 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Mass tax class change?

UPDATE products set products_tax_class_id = 1 where products_tax_class_id = 0;

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 May 2009, 3:25 AM
#7
notfarnow avatar

notfarnow

New Zenner

Join Date:
Jan 2007
Posts:
24
Plugin Contributions:
0

Re: Mass tax class change?

So do I go to: Admin > Tools > Install SQL Patches the paste into the "Enter the query
to be executed:" box then click Send? I just want to be completely sure. And yes I've backed up my site and database. THANKS!
UPDATE products set products_tax_class_id = 1 where products_tax_class_id = 0;