Results 1 to 8 of 8
  1. #1
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default all product on top category, now i cannot create new category

    so i decided to dump all my products under the top category (basically I didn't create any categories) and now that I want to add a new line of products I find out that zencart control panel wont even give me the option of creating a category, only allowed to create products...
    1) is there an easy way to add category now?

    or 2) is there an easy way i can backup my products and after I create categories sorta like "copy and paste" all my products back in there? I'd rather not have to do all of them from scratch again

    thanx
    Last edited by tsakali; 27 Dec 2007 at 08:39 PM.

  2. #2
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: all product on top category, now i cannot create new category

    How good is your SQL??? What you are looking to do is possible but fraught with possible problems so I would not attempt it unless you where very sure of your command of SQL and that you understand the tables/layouts for ZenCart.

    Otherwise it might be a good idea to check out Easy Populate. A little painful to get to grips with but may be a lot easier in the long run.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  3. #3
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: all product on top category, now i cannot create new category

    shoot I was afraid there wasn't an easy solution

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: all product on top category, now i cannot create new category

    My thoughts also leapt to Easy Populate. You would need to use it to export your products, then drop them from your database, update the resulting spreadsheet with your new category structure and re-import.

    The trouble with this approach is that it would disconnect your products from your order history. However, if you're not using product models, you could first use DQL to populate your product model field with your products ID field (you need a product model anyway for Easy Populate) and then repopulate your products ID field from your product models after you have re-imported.

    And of course, you should backup your database before even thinking about starting any of this.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: all product on top category, now i cannot create new category

    You could back up your database ...

    Then run the following SQL commands in the Tools ... Install SQL Patches ...
    PHP Code:
    update products_to_categories set categories_id 1;
    update products set master_categories_id 1
    Then create your Category and all Products will appear in this Category ...
    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!

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: all product on top category, now i cannot create new category

    Duh! Sneaky but very effective. Throw away the Easy Populate sledgehammer and reach for the Ajeh scalpel.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: all product on top category, now i cannot create new category

    I do look for that ol' easy way out ...

    NOTE: if you plan to use this temporary category you should also run the Tools ... Update Product Price Sorter ...
    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!

  8. #8
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: all product on top category, now i cannot create new category


 

 

Similar Threads

  1. v138a Disable Product Images in one TOP category to affect all subcategories
    By sbbemn in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 17 Jul 2012, 10:36 PM
  2. Replies: 0
    Last Post: 10 Nov 2010, 11:52 AM
  3. Show all products in category when top category is clicked
    By Graphic Content in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Oct 2010, 07:36 AM
  4. Cannot create new coupons - was working, now it isn't
    By Dianne in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 3 Jul 2009, 04:37 PM
  5. How create style sheet for all category product pages
    By bfuture in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Jun 2008, 05:04 AM

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