Hi I wanted to see if anyone knew how to remove(Hide) the price from Magento's main home page under the new products section block. I was able to remove the price from the list/grid thanks to some other post suggestions. Not Sure where else to look for the new products section on the home page.
I've tried commenting out under template/catalog/product/new.phtml
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
But that didn't do anything.
CMS Page homepage layout
<reference name="content">
<block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms.wrapper">
<action method="setColumnCount"><columns>4</columns></action>
<action method="setProductsCount"><count>8</count></action>
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
</block>
</reference>
Thanks for any help.
References.
https://stackoverflow.com/questions/4510528/magento-remove-price-phtml-from-the-category-list-of-products
Best Answer
Yes This is the right template file to remove the price from the new product listing.
comment the code in the below template file:
But just make sure to refresh Magento's cache form the admin side.
Follow the steps to refresh the cache: Go to
select all the cache and refresh them. now the result will be displayed
Note: if you are in development phase make all cache as disabled.