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??
Totally Zenned
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??
Inactive
Similar/same request, with solution, at
http://www.zen-cart.com/forum/showthread.php?t=36118&highlight=float+attributes
Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others
New Zenner
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:
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.
New Zenner
just did something dumb a doubled up on the post, just deleted it and posted this embarrassing message.
Sorry about that.
Totally Zenned
thanks for that, pritty simple when you start looking at the code etc really.
New Zenner
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.
Tell staff why this post should be reviewed.