3

I manage to show 4 'new products' on my homepage. In my Homepage > Design > Layout update XML i put the following code:

<reference name="content">
        <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>
</reference>

I changed also the template path from:

template="catalog/product/new.phtml"

to

template="catalog/product/widget/new/content/new_grid.phtml"

But is my code correct like this? Or do i have to change this also (and how?)?

template="catalog/product/widget/new/content/new_grid.phtml"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.