Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / swapping add to cart and attributes spots

swapping add to cart and attributes spots

Locked

Views: 921

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 Jul 2008, 7:16 PM
#1
thepoplin avatar

thepoplin

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

swapping add to cart and attributes spots

Hey guys I have one last issue to iron out before I think I'm finished. I started out with OsCommerce and moved to this when I saw the layouts were so simple to work with - not to mention the FAQ's and the forums were invaluable. However I really need to move the attributes above the add to cart button and for the life of me I can't figure out how to do it.
Here is a link to the example:

http://www.extremearchery.com/store/index.php?main_page=product_info&cPath=2&products_id=3

Thanks alot in advance.

11 Jul 2008, 7:24 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: swapping add to cart and attributes spots

That's part of the "simple to work with" - edit
/includes/templates/your_template/templates/tpl_product_info_display.php and relocate code blocks (marked by <!--bof xxxx--> and <!--eof xxxx--> comments) as desired. Copy that file from /template_default/ so you can keep your custom version safe.
Then fine-tune the layout with your stylesheet.

11 Jul 2008, 7:33 PM
#3
thepoplin avatar

thepoplin

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: swapping add to cart and attributes spots

Well that was the first thing I tried and I still have it that way but it didn't do anything. Now I suppose it could be in the stylesheet somewhere, but could you guide me to what line I should edit if that's even the issue?
Thanks,

12 Jul 2008, 2:42 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: swapping add to cart and attributes spots

Your attributes code is not above the add to cart code in the file that is being used in your shop - if it were, the View Source would show that. There is no CSS complication that is keeping it from working now; you have to move the code and then tweak the stylesheet if necessary.

If moving the code had no effect when you tried it, your changes were not getting to the file that was actually being used.