Opencart 2 - фильтр товара по производителю и категориям в админке

bezzubtsev

Гуру форума
Регистрация
14 Май 2015
Сообщения
277
Реакции
92
Если у кого есть - скиньте пожалуйста вкумод для дополнительных фильтров.
Пытаюсь добавить фильтры сам, получаю ошибки по типу
Код:
Notice: Error: Unknown column 'p.manufacturer' in 'where clause'
Error No: 1054
SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE pd.language_id = '2' AND p.manufacturer LIKE 'OKI%' in *путь*/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in *путь*/admin/model/catalog/product.php on line 646Notice: Error: Unknown column 'p.manufacturer' in 'where clause'
Error No: 1054
SELECT p.*, pd.name as name, m.name as manufacturer, w.title as weight_class, s.name as stock_status, t.title as tax_class FROM oc_product p LEFT JOIN oc_weight_class_description w ON (p.weight_class_id = w.weight_class_id) LEFT JOIN oc_stock_status s ON (p.stock_status_id = s.stock_status_id) LEFT JOIN oc_tax_class t ON (p.tax_class_id = t.tax_class_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE pd.language_id = '2' AND p.manufacturer LIKE 'OKI%' GROUP BY p.product_id ORDER BY p.product_id DESC LIMIT 0,10 in *путь*/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in *путь*/admin/controller/catalog/productmanager.php on line 909Warning: Invalid argument supplied for foreach() in *путь*/admin/controller/catalog/productmanager.php on line 450
 
А для opencart 1.5.6 есть фильтр по производителям в админке?

Сам решил
 
Последнее редактирование:
Назад
Сверху