2. Open the page in your browser.
3. Choose View Source from your browser menu.
4. Scroll down to the section you're bothered about moving. In the case of the add-to-cart button, you'll see this:
5. You need to locate the section that starts with and ends with these tags:
<!--bof Add to Cart Box -->
<!--eof Add to Cart Box-->
<div id="cartAdd">
Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="1" /><input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />
</div>
<!--eof Add to Cart Box-->
Note the <!-- bof Add to Cart Box --> ('bof' is an abbreviation for "beginning of file") and corresponding end tag: <!-- eof Add to Cart Box-->
.
Go find those same tags in the template file (if you search using the Developers Toolkit, you'll find that it's tpl_product_info_display.php) and move that entire section up or down in the file as you desire, noting to NOT put anything between any other existing <bof>...<eof> markers.
ie: instead of this:
<bof product description>
<eof product description>
<bof add to cart>
<eof add to cart>
....
maybe you want something like this:
<bof add to cart>
<eof add to cart>
<bof product description>
<eof product description>
Do similarly with other sections as desired.
Then use any necessary CSS alterations to style things as needed.
Tutorial FAQ articles:
http://tutorials.zen-cart.com/index.php?article=38
http://tutorials.zen-cart.com/index.php?article=39



FAQ Categories
