Jump to content

Batch Change Tax Category


Guest

Recommended Posts

Is there a way to change the tax category on every image via sql, and if so how can I do that via phpmyadmin?

I need to change it on literally everything in my store so it would take forever to do it the one-by-one way.

-James

Link to comment
Share on other sites

Sure, in PHPMyAdmin, simply execute this:

UPDATE CubeCart_inventory SET taxType = ## WHERE 1;

Of course if you have a prefix to your table names, you'll need to insert that. Also replace the "##" with the ID of your new tax type.

As with all manual database mods, please backup your database first. I will not be responsible if you jack it up. ;)

Link to comment
Share on other sites

Thanks!

UPDATE CubeCart_inventory SET taxType = 2 WHERE 1;

What I did was go to the

CubeCart_taxes table, and see what my tax ID was.

Then substituted that number for 2.

Thanks for the help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...