Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Default disabled items showing in best sellers list

    Hi,

    I have some products disabled from the store, but they still appear on the bestsellers list.

    Also, the new products on the homepage are not always once that I recently updated. Do you know of any settings to sort out these matters?

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

    Default Re: disabled items showing in best sellers list

    Check that you have applied the Known BugFixes at:
    http://www.zen-cart.com/forum/showthread.php?t=82619

    This is also a good time for reviewing the Security Updates and Patches:
    http://www.zen-cart.com/forum/showthread.php?t=131115

    I am not sure why you would be able to see the Products with products_status = 0 in the Best Sellers list ...

    You might check what happens if you switch to the Classic Template and see if it works properly ... if so, then this is something with your template ...
    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
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: disabled items showing in best sellers list

    Thanks for your help.

    I have gone through the bug fixes and security patches. Also tried with the different templates including in the classic template. But it still shows disabled products.

    Will let you know if I manage to figure out what I was doing wrong

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

    Default Re: disabled items showing in best sellers list

    Could you peek in your best_sellers.php sidebox and make sure that both SELECT statements include the products_status = '1' in the WHERE clause ...
    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
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: disabled items showing in best sellers list

    I have checked the code as well, and the "WHERE" clauses to make sure product_status='1' check is done.

    After spending time doing the tedious job of checking individual records in the database, I found something weird. Even though some products appear as disabled in the admin panel, their product status in the database appears as '1'.

    It does not make sense why that might have happened.

    Just to check, I took a product which has status '1' in the database (and also NOT disabled in admin panel), then disabled it via admin panel. This time the product status in the database changed to '0'

    So it is all looking weird at the moment

  6. #6
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: disabled items showing in best sellers list

    Think I found the solution. My client I believe has deleted a category, but not deleted the products under that. So there are items in the products table that don't have any referencing in the products to categories table.

    Therefore even if all categories in the admin panel are disabled, those products still appear on the site, because they don't get disabled.

    I am working on sorting it out now. Thanks for all your help :)

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

    Default Re: disabled items showing in best sellers list

    That is always a fun one to clean up from ... good luck ...
    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!

 

 

Similar Threads

  1. Excluding free items from Best Sellers
    By meljen in forum Customization from the Admin
    Replies: 3
    Last Post: 29 Nov 2012, 03:57 AM
  2. Disabled items showing in specials list
    By jbrit in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 10 Apr 2010, 03:17 PM
  3. Maintaining uniform best sellers list, regardless of category
    By susan767 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Jan 2010, 07:36 PM
  4. How do I display images in Best sellers list?
    By maxima in forum General Questions
    Replies: 3
    Last Post: 5 May 2007, 10:47 AM
  5. list of best sellers products
    By lourdes_lou in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 May 2007, 11:54 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