Zen Cart Logo

Product Availability

Locked

Views: 1,127

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Aug 2007, 2:10 PM
#1
gibsonshop avatar

gibsonshop

New Zenner

Join Date:
Aug 2007
Posts:
14
Plugin Contributions:
0

Product Availability

Hello,
I'm new to zencart, and i'm trying to build an ecommerce shop.

Now i have this problem:

I'd like to add to products (in product_info and product_listing) a picture or somthing that says if the product is available, if is arriving or not available.

How to do it?

Actually there is yet a picture that says if the product is not available, but i need it better

5 Aug 2007, 4:20 PM
#2
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Product Availability

You can simply replace the existing sold out image with your own image (keep the file name the same)...

ZenCart does not differentiate between sold out/arriving and sold out/not available. Easiest thing to do would be to modify the function zen_get_buy_now_button (in includes/functions/functions_general.php) and add an extra check. Something like if quantity <= 0 and no date available, then show a not available picture, if quantity <= 0 and there is a date available, then show sold out image.

BrandTim