Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Overriding Add to Cart Button with Preorder On Some Products

Overriding Add to Cart Button with Preorder On Some Products

Locked

Views: 1,090

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Jul 2010, 6:20 PM
#1
rmessick avatar

rmessick

New Zenner

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

Overriding Add to Cart Button with Preorder On Some Products

I have a client who wants to be able to have customers pre-order items that are out of stock. I can see how to set the display to the sold out image, and replace the sold out image with a Preorder image, but then it does not have the button functionality.

I can also have them still be allowed to order those products, but then I still have the button_in_cart rather.gif rather than the button I want. Is there a way to change the button that is displayed for images that are out of stock, but still allow them to function as a normal item?

I assume there is somewhere in the PHP code where I'd have to change this?

13 Jul 2010, 6:53 PM
#2
evelt avatar

evelt

Zen Follower

Join Date:
Nov 2009
Location:
In beautyful New York
Posts:
170
Plugin Contributions:
1

Re: Overriding Add to Cart Button with Preorder On Some Products

or allow check out even with in-sufficient stock
Admin >Configuration> stock:
look for Allow Checkout
set it to true

16 Jul 2010, 4:02 AM
#3
rmessick avatar

rmessick

New Zenner

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

Re: Overriding Add to Cart Button with Preorder On Some Products

Yes, that will allow them to checkout... But I can't keep the preorder image that I inserted into the Sold Out image filename.

I need the Add to Cart button to be replaced by a different image, but still allow them to check out. Any ideas?