Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I move the choice boxes up next to the picture?

How do I move the choice boxes up next to the picture?

Locked

Views: 704

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Sep 2010, 4:15 PM
#1
nycxkkoma avatar

nycxkkoma

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

How do I move the choice boxes up next to the picture?

How do I move the box "Please Choose:" and "Add to cart" button to the top next to the item picture? Thank you in advance.

The link to the web page is: http://beam.to/natest

30 Sep 2010, 5:28 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I move the choice boxes up next to the picture?

Down for Maintenance.

30 Sep 2010, 9:31 PM
#3
nycxkkoma avatar

nycxkkoma

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

Re: How do I move the choice boxes up next to the picture?

sorry, back up.

1 Oct 2010, 11:10 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I move the choice boxes up next to the picture?

Strike two.

We can't look at your site with developer tools when it's in a frame. Frames are really not necessary and can cause problems with your payment modules.

1 Oct 2010, 1:03 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I move the choice boxes up next to the picture?

It's OK now.

You move stuff on that (or most any) page by opening the template file for that page (in this case, tpl_product_info_display.php) and looking for the code that controls the part you want to move.

The developers have made it easy in this case by enclosing the code in comments that identify the page element the code applies to, as BOF (beginning of file) and EOF (end of file).

So, to move the Add to Cart section, look for all the code between <!--bof Add to Cart Box --> and <!--eof Add to Cart Box -->, Cut it (including the bof and eof comments) , then Paste it where in the file you want it relative to the other elements. In this case, probably just before the Product description section.

In any case, there's a certain amount of trial-and-error involved, and it's likely you'll have to go into the stylesheet and fiddle with padding and margins to get everything lined up the way you want it.

1 Oct 2010, 3:08 PM
#7
nycxkkoma avatar

nycxkkoma

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

Re: How do I move the choice boxes up next to the picture?

Thank you very much. Everything works great.