E
E
Edward2020-06-01 19:55:45
MySQL
Edward, 2020-06-01 19:55:45

How to make an "AND" filter in OpenCart?

How to change logic "OR" to "AND" when filtering by attributes in OpenCart?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail, 2020-06-10
@Levitskyi

In Opencart 3, a request to the database is generated taking into account the filter in the catalog/model/catalog/product.php file in the public function getProducts($data = array())
method. But it’s easier to use ready-made solutions (free):
Option one or Option two

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question