R
R
redesupar2021-04-14 05:04:41
opencart
redesupar, 2021-04-14 05:04:41

How to make a product selection in your module in the opencart 2.3 admin panel?

Hello, I am making my feedback module for the store for opencart 2.3 . The principle is that such a visitor leaves a review, then the review goes for moderation, there are additional fields that are not visible to the end user, but upon approval they are already visible on the page of the review itself. All other extras I made the fields (they are standard text), there is only one left, there is an additional field where the moderator needs to choose from the list of goods that are on the site, the list or smart search, at the output it gives the name of the product with a link to this product. How can I implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2021-04-14
@Asokr

All products with a filter can be taken from the product model, getProducts(filter), if my memory serves me...
If someone needs to search for something - see how it's done on the product list page - there is a filter by name goods, and do the same ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question