Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Category removed but product remains

    We had a category with a few products in it. My client removed the category as he no longer sold the products. But, a customer was able to purchase something contained in it after he deleted it.

    I checked the database and the product itself is still there. It shows a master category id that is no longer in the categories table.

    When you delete a category, is it supposed to also delete all products in the category, or do you have to do that manually?

    Thanks,
    Rick

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

    Default Re: Category removed but product remains

    I cannot reproduce this issue ...

    Was this a clean install of v151 or is this an upgrade?
    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!]
    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
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Category removed but product remains

    It was a clean install.
    I found the product in the database, and it shows a master_categories_id of 823, but that does not exist in the CATEGORIES table.
    I searched the products_to_categories table and see that product is linked to three other categories. Could this make a difference?

    Thanks for your help Linda!

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

    Default Re: Category removed but product remains

    Products have 1 master_categories_id ...

    When you delete a Category, all Products in that categories_id that matches the master_categories_id on the Product are deleted ...

    Do you have any add-ons in your Admin?
    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!]
    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
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Category removed but product remains

    I added Easy Populate 4, Super Orders, Edit Orders, Ceon Back in Stock Notifications, Sitemap XML and Image Handler 4.

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

    Default Re: Category removed but product remains

    Are you using Linked Products?
    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!]
    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!

  7. #7
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Category removed but product remains

    Yes we do.

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

    Default Re: Category removed but product remains

    Did all of the Products in the deleted Category have that categories_id as their master_categories_id set?
    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!]
    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!

  9. #9
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Category removed but product remains

    Quote Originally Posted by Ajeh View Post
    Did all of the Products in the deleted Category have that categories_id as their master_categories_id set?
    To add to this question, how was the category deleted? (Interested in knowing what if any impact EP4 maay have had on this situation.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Category removed but product remains

    Also, *after* the Category was deleted, was it noticed right away that these Products were still there? Or, had Easy Populate been used to touch the database before this problem was noticed?
    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!]
    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!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 29 Oct 2013, 03:43 PM
  2. Removed Products are not Removed but Hidden
    By maxmillion02 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Feb 2011, 07:30 PM
  3. restricted coupon not removed when allowable product removed
    By lexxymark in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 11 Aug 2010, 10:22 AM
  4. Removed header but empty space remains...please advise
    By tanglada in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Jul 2008, 01:08 AM
  5. Restocked but remains out of stock
    By cochlear in forum General Questions
    Replies: 2
    Last Post: 6 Jan 2008, 02:04 PM

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