Forums / Templates, Stylesheets, Page Layout / Move 'Add to cart box' to bottom of page!

Move 'Add to cart box' to bottom of page!

Locked

Started by fabricimage on 6 Nov 2009, 9:44 AM · Views: 2,040

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Nov 2009, 9:44 AM
#1
fabricimage avatar

fabricimage

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Move 'Add to cart box' to bottom of page!

Hi Guys, I'm a certified novice when it comes to all this coding but I'm just about there with my shop apart from one little irritation...

I can't figure out how to re-order my 'add to cart button' so that it is below my attributes boxes instead of above it.

I'm using Zen Cart 1.3.8a and have installed the excellent, simple Zen template courtesy of Sagefish - I know it's a css issue but despite changing bits of code around - I just cant get the logical order I require! Thanks in advance for any help.

http://www.fabric-image.com/urbancloth.co.uk/zen_cart/index.php?main_page=product_info&cPath=67&products_id=183

6 Nov 2009, 5:36 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Move 'Add to cart box' to bottom of page!

Actually, it looks like it is not a css issue.

You need to alter the order the elements are created in the php file called tpl_product_info_display.php.

It is found in :

includes/templates/yourtemplate/templates/

(If there isn't a version in that location you need to create one as an overirde by copying the file at includes/templates/default_template/tpl_product_info_display.php)

It is very clearly annotated so I am sure that you will see what you need to do. (Move the add to cart chunk of code down the page!) But if you want further help just post again!

Nick
iszent.com

6 Nov 2009, 6:42 PM
#3
fabricimage avatar

fabricimage

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: Move 'Add to cart box' to bottom of page!

That was it!
Thank you so much Nick, you've been a big help.
Kevin.
:clap: