Forums / General Questions / Auto Updating of Stock Status in Products Description

Auto Updating of Stock Status in Products Description

Locked

Started by viname on 24 Jul 2010, 6:42 PM · Views: 716

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Jul 2010, 6:42 PM
#1
viname avatar

viname

New Zenner

Join Date:
Jul 2010
Posts:
2
Plugin Contributions:
0

Auto Updating of Stock Status in Products Description

Hi all,

I'm a rather newcomer to PHP scripting. I have a question which I am not able to find solution to. I'm currently using Zen Cart 1.3.9d and as the title mention, I wish to have a script which will auto update my stock status upon depletion of stock in the catalog's products description.

Meaning that if there is stock, in my product description it will show an image of "In Stock" and when my stock is depleted it will auto revert to "Out of Stock" image.

I tried looking for the line on the Zen Cart script that is link to the current stock amount but to no avail.

Hopefully there will be someone able to help me on this as it is very tedious to manually revert the status of the image.

Thank you very much in advance!

2 Aug 2010, 6:28 PM
#3
viname avatar

viname

New Zenner

Join Date:
Jul 2010
Posts:
2
Plugin Contributions:
0

Re: Auto Updating of Stock Status in Products Description

stevesh:

You might look at this, and adapt it if necessary.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=633

Hi Stevesh, sorry for the delayed reply. Thank you very much for your kind help on this. I think it solved my problems well. :laugh: