How to view Particular Category List in Home Page from Magento?

Go to Magento Cms Page Inside, Put Blow Code then view in your page :
{{block type=”catalog/product_list” category_id=”98″ template=”catalog/product/list.phtml”}}

(OR)

Open in your Magento theme page layout, There you can past below code

<?php     echo $this->getLayout()->createBlock(‘catalog/product_list’)->setCategoryId(98)->setTemplate(‘catalog/product/list.phtml’)->toHtml()     ?>

(OR)

Open Magento Static Block, Create Magento New Static Block, Then Past Below Code :

{{block type=”catalog/product_list” category_id=”98″ template=”catalog/product/list.phtml”}}

Once you placed above code in Magento Staic block inside, You can write below code in your Magento .phtml file inside,

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId(IDENTIFIER)->toHtml() ?>

Here you change "IDENTIFIER" in your Magento Static Block identified number.
Now you refresh your site will show your custom Magento Style Theme.

Thanks,
J.
echo $this->getLayout()->createBlock('catalog/product_list')->setCategoryId(10)->setTemplate('catalog/product/list.phtml')->toHtml()

How to call Navigation in Magento CMS Page inside?

Just write inside magento cms page below code :

{{block type=”catalog/navigation” name=”catalog.vertnav” alias=”navigation_homepage” template=”catalog/navigation/vert_nav.phtml”}}

How to call Tag’s inside Magento CMS Page?

Just write below type :

{{block type=”tag/popular” template=”tag/popular.phtml”}}

How to Popular Tag add & remove in Magento?

1. Go to Admin Panel

2. Select the Catalog => Select Add Tag

3. And what tag you want add here.

And watch below video tutorial url also :

http://fastdot.co.uk/magento-ecommerce/how-to-create-and-approve-tags-in-magento.html

Add :

appdesignfrontenddefaultyourthemelayouttag.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>

Remove :

go to below URL.

http://stackoverflow.com/questions/2654515/removing-the-block-popular-tags-from-the-index-view-in-magento

Here some more useful things.

that’s all 🙂

This is custome tag add in home page option : {{block type=”tag/popular” template=”tag/popular.phtml”}}

© 2020 Spirituality