cancel
Showing results for 
Search instead for 
Did you mean: 

how to display only images from a particular category?

how to display only images from a particular category?

so we have a widget that is 'catalog product list' which shows all products, but i have several categories, and I have created a page for each category and i want to use a widget that will show ONLY those product from that category- is this possible and how?

many thanks

7 REPLIES 7

Re: how to display only images from a particular category?

Hello @luke_mersh 

Do you mean you have created a static block and want to display it on a category page?

Each category page has one option under the design section to show products, static blocks or both. You can use them. If your requirements are different then please excuse me.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: how to display only images from a particular category?

No

I have created a new page for each category and i want to use the widget to show only product from a particular category, not all products.

Re: how to display only images from a particular category?



found this article:

https://blog.landofcoder.com/display-products-of-specific-category-on-home-page/

 

but i couldnt get it to work.

Dont understand how blocks work.

Re: how to display only images from a particular category?

Hi guys i really need help on this subject.

As I have mentioned before i am new to Magento but am very keen to learn.

any help appreiciated.

 

Re: how to display only images from a particular category?

@luke_mersh you can refer the below link for this purpose.

 

http://blog.chapagain.com.np/magento-2-get-all-products-of-a-category/

 

Thanks

Re: how to display only images from a particular category?

Thank you for that post.

As I am a newbie, I am not good with php coding.

I thought there would be a built in widget that was already created that could help me.

 

I will look at how to create this and test it out.

many thanks

Re: how to display only images from a particular category?

So far I have created independent pages for each subcategory.

but what I want to achieve is to display the corresponding subcategory product on each page.

 

I know that you guys have shared some info with me, but I am not working locally.

I am trying to create these widgets or blocks whatever you want to call them from within admin panel.

 

I see the php code and the list.phtml, but as I am a newbie I dont know where or how to create and place these files.

I did try, but without success so far, probably because I am not doing it correctly.

 

I would appreciate lots of help for this issue.

many thx in advance