Answer the question
In order to leave comments, you need to log in
How to mix search results in OpenCart?
Good afternoon!
We have a catalog of goods (loaded from 1c), it contains two types of goods - one group of goods is ours, the second group of goods is suppliers.
How to solve the problem of displaying sorting by price?
If you click on the sort by price button, then the first group of goods comes first with a price from 20 rubles to 1000 rubles, and after the last most expensive product, the second group begins with a minimum price of 20 rubles and up to 1000 rubles
Where can I find the search settings?
Thanks for answers!
Answer the question
In order to leave comments, you need to log in
I found the search code, they say you need to insert "order by product_group, price"
Can you tell me where to enter it?
<div class="sort">
Сортировка по
<a <?=$sort != 'price' ? 'style="color: black"' : ''?> href="<?=$sorts['price'][$sort == 'price' && $order == 'asc' ? 'desc' : 'asc']?>">цене <b><?=$sort == 'price' ? ($order == 'desc' ? '↓' : '↑') : ''?></b></a>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question