Answer the question
In order to leave comments, you need to log in
How to display all products on the main page of OpenCart 2.3?
Hello. Such a question, found answers only for previous versions of OpenCart. I need a display on the main page of all available products, because there is only one category and even the menu on the site is not planned. Is there any correct way to implement this idea? Moreover, it is clear that I am not the only one who asks such a question, but more often all recommendations come down to a simple one: "add to the recommended ones." It would be desirable to learn the decision without crutches. Thanks in advance)
Answer the question
In order to leave comments, you need to log in
You can display all the products on the main page, but it will take longer than through the recommended ones and again there will be a crutch. Since there will be models and controllers and views, they will be rewritten.
In general, the task is to display products on the main page by the id of the category you need.
To do this, you will need to copy the part of the code responsible for displaying products from the product/category controller to the common/home controller, but with minor edits.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question