Forums / Bug Reports / Category New Products Box shows inactive products

Category New Products Box shows inactive products

Views: 1,227

Results 1 to 4 of 4
7 Jul 2012, 2:47 PM
#1
movermedia avatar

movermedia

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

Category New Products Box shows inactive products

I just noticed that on my Category pages, the central New Products box is showing inactive products from inactive subcategories. The items are out of stock, marked red/disabled, yet they still show up. Clicking them brings up "Sorry, the product was not found."

I think every one that shows up is on sale through Salemaker, though I'm not 100% sure of that.

I'm using Zen Cart 1.3.9h. I found a few posts for the same issue regarding 1.3.7 & 1.3.8, that said to modify /includes/modules/new_products.php to add in a check for " and p.products_status = 1 " however this is already in the 1.3.9 code. Any help would be appreciated.

8 Jul 2012, 2:50 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Category New Products Box shows inactive products

Compare a clean v1.3.9h copy of:
/includes/modules/new_products.php

to your copy on the server:
/includes/modules/new_products.php

or in:
/includes/modules/your_template_dir/new_products.php

if you are using templates and overrides correctly ...

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!

18 Jul 2012, 2:59 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Category New Products Box shows inactive products

If you still need help with this, please click Reply below and answer all the questions in the Posting Tips section.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2012, 7:11 PM
#4
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Category New Products Box shows inactive products

Just ran into this same problem and it was the version of the new_products.php module. Thanks!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo