Forums / Templates, Stylesheets, Page Layout / Second "Add to Cart" button.

Second "Add to Cart" button.

Locked

Views: 1,211

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Mar 2008, 7:04 PM
#1
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Second "Add to Cart" button.

Is there any problem with adding a second "Add to Cart" button on my product pages? tpl_Product_Info_Dispaly.php
My product descriptions contain so much info and I thougt having the "Add to Cart" button at both the top and bottom of the page would be nice. I've got the second button showing, but wanted to see if anyone knew of any potential problems I might run into using this method.

How I did it. I just edited the above page, by copying the "Add to Cart" section of the code and pasting it above and below the product description.

Thanks for any info...

Rick

28 Mar 2008, 7:10 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Second "Add to Cart" button.

The only problem is quantities.

If a customer puts 1 item in the top field, and 3 items in the bottom field, - or 3 in the top field and then when he gets to the bottom he changes his mind and puts 4 in the bottom, then one of the fields has to be "ignored".

Try this on a test order to see what I mean...

20 years a Zencart User

28 Mar 2008, 7:55 PM
#3
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Re: Second "Add to Cart" button.

I see exactly what you mean.:oops:
It uses the quantity from the bottom box, regardless of which "Add" button you click.

Thanks!

28 Mar 2008, 7:58 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Second "Add to Cart" button.

That's right... the last input field will supercede earlier ones (like css).

20 years a Zencart User