Created
August 1, 2011 18:13
-
-
Save jonathonbyrdziak/1118673 to your computer and use it in GitHub Desktop.
Magento Homepage -> BestSellers Module for featured products
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<reference name="content"> | |
<block type="bestsellers/list" name="home.bestsellers.list" alias="product_homepage" template="catalog/product/list.phtml"/> | |
<!-- | |
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"> | |
<action method="addPriceBlockType"> | |
<type>bundle</type> | |
<block>bundle/catalog_product_price</block> | |
<template>bundle/catalog/product/price.phtml</template> | |
</action> | |
</block> | |
--> | |
<block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"> | |
<action method="addPriceBlockType"> | |
<type>bundle</type> | |
<block>bundle/catalog_product_price</block> | |
<template>bundle/catalog/product/price.phtml</template> | |
</action> | |
</block> | |
<block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed"> | |
<action method="addPriceBlockType"> | |
<type>bundle</type> | |
<block>bundle/catalog_product_price</block> | |
<template>bundle/catalog/product/price.phtml</template> | |
</action> | |
</block> | |
</reference> | |
<reference name="right"> | |
<action method="unsetChild"> | |
<alias>right.reports.product.viewed</alias> | |
</action> | |
<action method="unsetChild"> | |
<alias>right.reports.product.compared</alias> | |
</action> | |
</reference> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment