Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Layout of Add to Cart button

Layout of Add to Cart button

Locked

Views: 1,017

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
17 Jan 2007, 10:47 AM
#1
isaiah36 avatar

isaiah36

Zen Follower

Join Date:
Jun 2006
Posts:
120
Plugin Contributions:
0

Layout of Add to Cart button

My customer wants their Add to Cart button to appear after attributes options whenever applicable. Customers are clicking to add products without indicating the option value resulting in a $0 item in the cart. TIA.

20 Jan 2007, 6:04 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Layout of Add to Cart button

A safety for that is to setup Option Names with an Option Value such as:

Select from below ...
Pick one ...
Choose something ...
etc.

Then set that as the:
Default
Display Only

What this does is force the customer to make a choice that is right for the list of Attributes ...

Now they can never add a Product without finishing adding the page ...

On moving the button, you can copy the template file to your templates and overrides directory and move the add to cart button below the attributes ...

Just keep it between the start and end of the form tags and you can move it anywhere you like ...

20 Jan 2007, 5:14 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Layout of Add to Cart button

Almost perfect ...

Do you really want me to pick 12 of those styles or 1 style? :blink:

Checkboxes let me pick 0 to many ...

Radio buttons let me pick 1 ...

20 Jan 2007, 6:19 PM
#5
isaiah36 avatar

isaiah36

Zen Follower

Join Date:
Jun 2006
Posts:
120
Plugin Contributions:
0

Re: Layout of Add to Cart button

They can pick as many as they like, I've set it to add 14.99 to the price for each attribute selected. :) What would be nice is if they could change their mind, and edit the selections after. At present, if they pick 4 colors, then decide to drop 1 because their sub-total ran too high - they will have to drop the whole item, and go reselect the 3 colors and add the item again - a bit clunky.

20 Jan 2007, 6:38 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Layout of Add to Cart button

On the list of fun things to do ... :smartass:

But not today ... :cry:

21 Jan 2007, 10:15 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Layout of Add to Cart button

A point to note: this

Copyright © 2007 All Things Rasta owned and operated by Rastafari.
Powered by African Star Line technologies.

is improper. Your site is powered by Zen Cart, and claiming otherwise is taking credit for other people's work.