Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009
    Posts
    13
    Plugin Contributions
    0

    Default Associating products with categories within the database

    Sorry for the double post. I think my post is better described here. Trying to deleted other post.


    I created a small problem for myself. I accidentally created a category with a subcategory within it. Within the subcategory i have about 22 products.

    I wanted to get rid of the subcategory so I deleted it. I backed up the 22 products and when I deleted the subcategory the products were deleted as well. So I went into the database and inserted the backed up products.

    The products arent showing up within the zen admin section or the site, but are showing up within the database. I changed the master_categories_id within each product to match the main category I have thinking it would associate each product with the category, but still not showing within the zen cart admin, or the site.

    I'm sure i'm missing something somewhere and figured i'd write to see if someone could point me in the right direction.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Associating products with categories within the database

    Sl,
    Please be patient for an answer & don't double post... Read the tutorials on posting a thread please

  3. #3
    Join Date
    Oct 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Associating products with categories within the database

    Yeah i know. Sorry about that. Just thought it would do better here. Even for people looking for solutions to the same issues. Again, sorry.

  4. #4
    Join Date
    Oct 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Associating products with categories within the database

    I figured it out. So basically I exported my products from the products table, but failed to backup the product_description, and the products_to_categories tables.

    In order for your products to be available in a particular category those three tables rely on each other.

    Lesson learned.

 

 

Similar Threads

  1. Products within Categories that have Sub-Categories?
    By wizer in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 May 2011, 03:05 AM
  2. Associating products with categories within the database
    By slegendre in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Nov 2009, 05:29 PM
  3. associating multiple artists with a product
    By jbible in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Oct 2008, 08:56 PM
  4. Associating a custom id with a shopping cart item
    By dave981 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Jan 2008, 08:03 AM

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