Notice: Undefined variable: ids in /home/niva21/niva21.com.ua/www/catalog/model/catalog/product.php on line 466Warning: implode(): Invalid arguments passed in /home/niva21/niva21.com.ua/www/catalog/model/catalog/product.php on line 466Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND p.status = '1' AND p.date_available <= '2019-06-20 16:48:00' AND p2s.store' at line 1
Error No: 1064
SELECT * FROM oc_product p LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.product_id IN () AND p.status = '1' AND p.date_available <= '2019-06-20 16:48:00' AND p2s.store_id = '0' ORDER BY RAND() LIMIT 20 in /home/niva21/niva21.com.ua/www/system/database/mysqliz.php on line 53