Quantcast
Channel: Magento Resource » design
Viewing all articles
Browse latest Browse all 10

How to move/remover Callouts on the left/right columns

$
0
0

From the default MAGENTO template, you always can see the call out images on the left/right side.

We can easily turn on Template Path hints in the admin section:
1.Admin > System > Configuration
2.Switch your “Current Configuration Scope” to your store
3.Click on the Developer Tab (bottom left) and find the Debug area
4.Template Path Hints: Yes
5.Then refresh your debugging page, you will see all the paths on the screen

You will find that the template files (phtml files) which include the html for the callouts are located at:
app/design/frontend/*/*/template/callouts/right_col.phtml
app/design/frontend/*/*/template/callouts/left_col.phtml

You will also find that the block is being added onto your Magento install via catalog.xml
app/design/frontend/*/*/layout/catalog.xml

OK, Let’s go:
For the right column:

1
2
3
4
<reference name="right">
<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
</reference>

TO

1
2
3
4
5
<reference name="right">
<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<!--<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>-->
<!-- or delete this line altogether -->
</reference>

You can do the same for the left callouts (The dog one!!!).


Viewing all articles
Browse latest Browse all 10

Trending Articles