Follow by Email

Tuesday, November 30, 2010

Get product in your home page with pagination in magento

At last i have got a good solution of this problem
in your home CMS remove

{{block type="catalog/product_list" category_id="3" template="catalog/product/list.phtml"}}

from your Content area and add

<reference name="content">
<
block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
<
action method="setCategoryId"><category_id>3</category_id></action>
<
block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
<
block type="page/html_pager" name="product_list_toolbar_pager"/>
</
block>
<
action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
</
block>
</
reference>


in your left menu Design -> Page Layout under Layout Update XML
now your pagination will come..

Monday, November 29, 2010

Remove your paypal logo from your right panel

you can
<remove name="paypal.partner.right.logo" />

Change your catalog template in magento

It is very good idea to change catalog template
it control from catalog.xml of your theme folder open it and find this code
<catalog_category_default translate="label">

<label>Catalog Category (Non-Anchor)</label>
after this code add this
<reference name="root">

<action method="setTemplate"><template>page/2columns-right.phtml</template></action>

</reference>
if you want to change your template into 2columns-right

Add your Popular Tags in your magento frontend

This was a small problem but it was big to me
if you want to set your popular tag then first select the location where you want to add it (right or left panel) just go to the
app\design\frontend\default\yourtheme\layout\tag.xml

<default>

<!-- Mage_Tag -->

<reference name="right">

<block type="tag/popular" name="tags_popular" template="tag/popular.phtm">

<action method="setTemplate"><template>tag/popular.phtml</template></action>

</block>

</reference> </default>

find this code and change
if you want to keep it left then or leave it

Saturday, November 27, 2010

Change default welcome message

I found it. It’s under Admin > System > Configuration > Design > Header > Welcome Text.
How to put Quick link in the magento footer
Just go to the system -> configuration -> design ->footer->Miscellaneous HTML

Friday, November 26, 2010

Add CMS page in the magento top menu

If you want to add your cms page in your front end top menu in magento it's very easy

after adding the cms from your admin go to the

app\design\frontend\default\your theme\template\catalog\navigation\top.phtml


add <li><a href="http://www.blogger.com/%3C?php%20echo%20$this-%3EgetUrl%28%27howtotieatie%27%29%20?%3E">__('How to Tie a Tie') ?></a></li>


under <ul>


where my cms page is howtotieatie


make your catch clear and enjoy</ul>