Forums / General Questions / add to cart and attributes

add to cart and attributes

Locked

Started by kitcorsa on 3 May 2007, 9:26 AM · Views: 1,283

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 May 2007, 9:26 AM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

add to cart and attributes

at the moment on my site the product atributes are below my add to cart button etc, how can i move the atributes above the add to cart button??


3 May 2007, 9:53 AM
#3
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: add to cart and attributes

I just did the same thing on a store that I was working on.

Copy and create an template overide for the file: includes/templates/template_default/templates/tpl_product_info_display.php

cut lines 88 - 114

line 88 starts with ... <!--bof Add to Cart Box -->
line 114 starts with ... <!--eof Add to Cart Box-->
and inset the lot at line 143 which is between:

<!--eof Attributes Module -->

insert cut code here)

<!--bof Quantity Discounts table -->

If you're showing discount or additional images you may want to copy the code at line 164 which is between ...

<!--eof Additional Product Images -->

(insert cut code here)

<!--bof Prev/Next bottom position -->

The add to cart looks better and flows better when it's below the attributes

good luck, hope it helps.

3 May 2007, 10:03 AM
#4
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: add to cart and attributes

just did something dumb a doubled up on the post, just deleted it and posted this embarrassing message.

Sorry about that.

3 May 2007, 10:21 AM
#5
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: add to cart and attributes

thanks for that, pritty simple when you start looking at the code etc really.


3 May 2007, 10:33 AM
#6
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: add to cart and attributes

Glad to help, I really recommend using the firebug plugin for firefox. This helps you identify the code against what you see in the browser then you simply use the developer's tool kit in the admin panel to find the applicable file.

I'm amazed at how much easier it to develop templates using just these two tools. Firebug even shows you the applicable CSS for html lines you're looking at. Well worth having if you're not already using it.

Cheers.