cancel
Showing results for 
Search instead for 
Did you mean: 

show products of a category on home page in magento 1.9.2.2

show products of a category on home page in magento 1.9.2.2

Hello 

 

Is there a way to show only 10  Featured products of a  certain category at home page ? 

 

I tried this but i see all products of the category also not the  feautured.

 

{{block type="catalog/product_list" name="home.catalog.product.list" category_id="108" template="catalog/product/list.phtml"}}

 

Thanks

4 REPLIES 4

Re: show products of a category on home page in magento 1.9.2.2

You won't find an out-of-the-box way to do that (you can use some tricks... as using the new products block to show those as featued, but isn't the right way).

 

There are several free and paid modules that allows you to get that feature in different ways.

 

You find some on Magento Connect:

 

https://www.magentocommerce.com/magento-connect/catalogsearch/result/?q=featured+product&pl=0

 

Or you can check on GitHub if you're able to install bu your own:

 

https://github.com/search?utf8=%E2%9C%93&q=magento+featuredproduct&type=Repositories&ref=searchresul...

 

https://github.com/search?utf8=%E2%9C%93&q=magento+featured+product&type=Repositories&ref=searchresu...

Re: show products of a category on home page in magento 1.9.2.2

Thanks Damian 

 

i have checked all modules there but None of them is showing featured product from certain category.

I would like to do the above at home page: 

 

Featured Products Cat-1 

Dispay 5 products of the Cat-1 that are featured 

 

Featured Products Cat-2 

Dispay 5 products of the Cat-2 that are featured 

 

Featured Products Cat-3 

Dispay 5 products of the Cat-3 that are feature

Re: show products of a category on home page in magento 1.9.2.2

I don't remember right now a module with that feature in that way.

Maybe you'll need to code a little bit.

 

The idea behind featured products, normally, is to create groups in an arbitrary way. That's way, I guess, you always need to assign groups to your featured list.

I wrote a module a long time ago: https://github.com/barbanet/magento-dc-featuredproduct (this isn't spam, I'm just trying to get another option)


It allows you to build several groups and use it with widgets on your CMS pages. Also, you can set, for each widget, the kind of sort criteria. But you'll need to create the groups.

 

The module has worked fine. The"problem" is that you'll need to edit the phtml template to adapt to your theme or style.

So you'll need some code skills if you need to adapt the frontend look&feel.

I don't remember another option right now.

Maybe someone else has better recomendations.

Re: show products of a category on home page in magento 1.9.2.2

I forgot another approach.

Maybe this is the right answer.

 

You can add a block into your CMS page.

 

Try:

 

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

Where cateogry_id has to match with your category.

Also, you can add as many blocks/categories as you want.