Zen Cart Logo

Order By Phone

Views: 717

Results 1 to 4 of 4
13 Mar 2012, 9:34 PM
#1
suntower avatar

suntower

New Zenner

Join Date:
Nov 2010
Posts:
68
Plugin Contributions:
0

Order By Phone

My client has decided to make several categories of products 'Order By Phone' only.

I had thought I could create a new Product Type to handle this but I now see it's -work- to do so.

Of course, I can hard code something into the Product_Info based on Category, but I was hoping there was some more elegant way to do this just within the Admin.

What we want is to hide the Add To Cart Button but have an 'Order By Phone Only! banner in that spot.

Ideas?

---JC

13 Mar 2012, 9:48 PM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Order By Phone

A very simple solution could be this

Depending on your stock settings, you could set the in stock amount to zero, so it looks like sold out. Then you only have to edit some defines.

13 Mar 2012, 9:54 PM
#3
suntower avatar

suntower

New Zenner

Join Date:
Nov 2010
Posts:
68
Plugin Contributions:
0

Re: Order By Phone

Design75:

A very simple solution could be this

Depending on your stock settings, you could set the in stock amount to zero, so it looks like sold out. Then you only have to edit some defines.

Not that I'm lazy, but where are these DEFINES located? (I -still- get confused about the ZC hierarchy.)

Thanks,

---JC

13 Mar 2012, 10:05 PM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Order By Phone

I just remembered it is just a button in the button_names.php

define('BUTTON_IMAGE_SOLD_OUT','button_sold_out.gif');
define('BUTTON_IMAGE_SOLD_OUT_SMALL','button_sold_out_sm.gif');

just make a new button and you could be done