I've looked in the menus of the admin section but can't seem to find a control to position the "add this to cart" box on the product page. Where is that pesky control?
I've looked in the menus of the admin section but can't seem to find a control to position the "add this to cart" box on the product page. Where is that pesky control?
There is no admin control of the add to cart position. You need to move the code block in tpl_product_info_display.php to the display order you want, and then fine-tune it in the stylesheet.
Thanks - I'm using ZC 1.3.8. My goal is to move the options above the add to cart box on this page:
http://sportsessentialsinc.com/shop/...&products_id=1
I tried changing the order of the code blocks in tpl_product_info_display.php and used Firefox to inspect and tweak the css for these blocks but no joy. What am I missing?
Where do you want it? The id is #cartAdd in the stylesheet.
Right - I do see that and tried changing margin settings but that didn't achieve the result I want which is to move the add to cart box below the options dropdown box. Again, what have I missed?
DocRocks
My goal is to consume the Web, one byte at a time.
You'll still have to edit tpl_product_info_display to move everything between <!--bof Add to Cart Box --> and <!--eof Add to Cart Box --> to below the attributes section. Then you can change the float in #cartAdd to left from right. I think that should do it.
Seems like it should work but changing the order of the add to cart code doesn't seem to be working for me.
The attached modified tpl file is in an override folder at
sportsessentials.com\shop\includes\templates\template_default\templates\theme073
I've changed the name of the tpl file in the main directory so Zen Cart shouldn't be using it.
Again, what am I missing - sigh!
Last edited by DocRocks; 3 Feb 2010 at 10:45 PM. Reason: added attachment
DocRocks
My goal is to consume the Web, one byte at a time.
The override folders don't work that way. It should be in includes/templates/theme073/templates
I've changed the name of the tpl file in the main directory so Zen Cart shouldn't be using it.
I don't know what exactly that means, but you don't need to change any file names.
Aha! Correcting the override path did it. Obviously I'm still not clear on where to put override folders.
Many thanks.
DocRocks
My goal is to consume the Web, one byte at a time.