D
D
DeniSidorenko2018-05-26 13:50:13
JavaScript
DeniSidorenko, 2018-05-26 13:50:13

How to set custom attributes for product display on Opencart?

Good afternoon, there is a custom filter for displaying products in js.
It looks something like this
. I thought to make my own data-attribute for each product and display the necessary products using it.
And it works. We need to land on Opencart. And can I somehow set my own attributes from the admin panel in the future? If so, how? Or maybe there is another way to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2018-05-26
@DeniSidorenko

The
filter for the engine works like this: the module modifies the query module to the database to select goods, as the user marked something and fired submit or another event - an ajax request is sent to the controller, which requests the modified module to select the parameters that have arrived .. and in as a result, a person sees what he stumbled in the filter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question