Forums / Setting Up Categories, Products, Attributes / New Products still showing Sold Out and Disabled Items

New Products still showing Sold Out and Disabled Items

Locked

Started by shawnchr on 13 May 2010, 2:05 AM · Views: 3,026

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 May 2010, 2:05 AM
#1
shawnchr avatar

shawnchr

New Zenner

Join Date:
Jun 2009
Posts:
45
Plugin Contributions:
0

New Products still showing Sold Out and Disabled Items

When an Item sells out or is disabled the I tem is still showing in the New products for the month listing. New products is still showing products that are not new say this month may. How can I fix this?

The Item in question is the O Gauge NH (Eastwind) EP-3 Electric Engine PS 2.0

Please help!!!

http://www.justrains.com/webstore

Zen Cart 1.38A
Yes Once from 1.38 to 1.38A
Shipping insurance and map pricing
I fixed the shipping so I can force shipping on any item with an option on the product page
Yes
No
Yes
Everything works perfectly with the store shipping billing everything works.

Shawn Chronister
The Attic
Zencart Rules now if we could just Microsoft RMS integration.

13 May 2010, 6:36 AM
#2
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: New Products still showing Sold Out and Disabled Items

Maybe this will help:

Products status in Catalog when out of stock should be set to ??

http://www.zen-cart.com/wiki/index.php/Admin_-_Configuration_-_Stock

That wasn't the plan!

13 May 2010, 7:14 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: New Products still showing Sold Out and Disabled Items

shawnchr:

When an Item sells out or is disabled the I tem is still showing in the New products for the month listing.

Zen Cart 1.38A
You can either apply the bug-fixes relevant to your needs, from this list: http://www.zen-cart.com/forum/showthread.php?t=82619 and all the posted security patches from this list: http://www.zen-cart.com/forum/showthread.php?t=131115

... or you can save yourself all that by upgrading to the latest version directly, which is v1.3.9b as of today: http://www.zen-cart.com/forum/showthread.php?t=153088

.
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.

31 Oct 2010, 7:09 PM
#4
endre avatar

endre

New Zenner

Join Date:
Dec 2008
Posts:
38
Plugin Contributions:
0

Re: New Products still showing Sold Out and Disabled Items

Hi
I'm using 1.3.9h, but I still have this problem with disabled products showing up in the New Products center box.

I had a look at the Bug fixes that are referred to, but I'm not using 1.3.8.
The new_products.php has the same code as the bug fix told people to use when replacing the code in 1.3.8.

Any idea how to fix this?

Cheers
Endre

31 Oct 2010, 7:43 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: New Products still showing Sold Out and Disabled Items

There is a difference between Sold Out, products_quantity <= 0, and Out of Stock, products_status = 0 ...

If you want to never see Sold Out Products on your site, you need to change the settings in Configuration ... Stock Settings ... so that out of stock products have the Product Status, (products_status) set to 0 on an Order ...

If you want to show Sold Out Products but not show them in the New Products ... then you need to customize the code for the Centerbox, Sidebox and New Product listing to not include Products with a products_quantity <= 0 ...

NOTE: The bug in v1.3.8, was where the Products with products_status = 0 were still showing ...

NOTE: to set products_status = 0, when Products are Sold Out on an Order, you would need to update the existing Products as this is only controlling new Orders on the check out ...

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!

31 Oct 2010, 9:53 PM
#6
endre avatar

endre

New Zenner

Join Date:
Dec 2008
Posts:
38
Plugin Contributions:
0

Re: New Products still showing Sold Out and Disabled Items

Linda,
Thanks for the quick reply.
I'm a bit embarrased now....I forgot to check the module template override file :blush:
I bought a template supposedly for 1.3.9g.
However, the 1.3.8 bug fix was not implemented in the new_products.php file.
Made the change in the code, and now it works beautifully.
Will have to have a word with the company I bought the template from, to see if any other files are not 1.3.9.:(

Cheers
Endre

31 Oct 2010, 11:57 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: New Products still showing Sold Out and Disabled Items

Thanks for the update that you were able to fix this and for posting the cause was an out of date template and override file ... :smile:

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!