0

I am trying to show products on the Homepage by category.

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

I have tried this but did not work.
Note: I am using the Porto theme. If you can please help me.

1 Answer 1

1

Go to Magento admin panel Content -> Pages -> Choose your home page

  • Click the Insert Widget button

  • enter image description here

  • Then choose Catalog Product List

  • Choose condition as category and its ID

Save page and Clear the Magento cache then you will see the products in the category

3
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Sep 20, 2021 at 4:55
  • Sorry updated the answer Sep 20, 2021 at 5:28
  • Thank you very much Sep 20, 2021 at 10:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.