Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    36
    Plugin Contributions
    0

    Default Applying Tax Classes Simultaneously to All Products

    Hey Everyone,

    I just finished making tax classes for my online store in Canada.

    My question now is "how do I apply the new tax classes I just created to all my existing products that have a different tax class set to it?"

    Is this possible?

    Help would be appreciated before I go and do it one by one (keeping in mind i have hundreds of products)


    Cheers!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Applying Tax Classes Simultaneously to All Products

    Browse the tax_class table in phpMyAdmin and locate the tax_class_id for the OLD tax class and the tax_class_id for the NEW tax class ...

    To update all products with the OLD tax_class_id to the NEW tax_class_id you can use:
    Code:
    UPDATE products SET products_tax_class_id = NEW## WHERE products_tax_class_id = OLD##;
    Be sure to backup your database before doing this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Applying Tax Classes Simultaneously to All Products

    Hey,

    thanks for the reply..


    I'm pretty bad at this stuff myself so if you can explain it in an even more basic term..


    When I'm in "myphpadmin", I click on my store name which gives me a breakdown of everything in my cart.

    Then from there I choose: (browse) carttax_class ?

    Then when I click browse on "carttax_class" it gives me a bunch of the tax classes I made. How do I choose just one of them to update my whole catalog??


    Thanks in Advance!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Applying Tax Classes Simultaneously to All Products

    Can you look in the configure.php file, on the server, and see what your database prefix is set to? Are all of your tables prefixed with:
    car

    What Tax Classes do you have defined in the Zen Cart Admin for:
    Locations / Taxes ... Tax Classes ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Dec 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Applying Tax Classes Simultaneously to All Products

    Hey,

    My database prefix is set to:

    define('DB_PREFIX', 'cart')

  6. #6
    Join Date
    Dec 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Applying Tax Classes Simultaneously to All Products

    My Tax Classes are as followed:


    Tax Classes

    ID Tax Classes Action
    1 GST
    4 GST/HST/PST Class Info
    3 GST/PST Info
    2 PST Info


    The one I just inserter and want to use is the: GST/HST/PST Class


    Thanks in Advance!

 

 

Similar Threads

  1. Salemaker Not applying to all products
    By deb in forum Setting Up Specials and SaleMaker
    Replies: 80
    Last Post: 14 Sep 2020, 11:54 AM
  2. Applying Tax Classes Simultaneously to All Products
    By StrictlyAutoParts in forum Addon Shipping Modules
    Replies: 0
    Last Post: 9 Jul 2008, 04:37 PM
  3. Applying attributes to all products in category.
    By goslingo in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 1 Feb 2007, 09:42 AM
  4. Applying discount across all products
    By eshop in forum General Questions
    Replies: 1
    Last Post: 5 Oct 2006, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR