Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') , LCASE(p.date_added) DESC, p.model ASC LIMIT 0,30' at line 15
Error No: 1064
SELECT p.product_id, p.ptint, p.pverpakking, pd.description AS omschrijving, p.pset, p.length, p.width, p.height, p.pcol ,p.date_added, p.model ,p.pkat AS categorie, ad.name, p.sort_order, ad.name AS produktkleur, (SELECT price FROM oc_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special FROM oc_product_to_category p2c LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_attribute a ON (p.pkleur = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pd.language_id = '1' AND pd.language_id = '1' AND ad.language_id = '1' AND p.status = '1' AND p.quantity > 0 AND p.quantity <> 0 AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '62' GROUP BY p.product_id ORDER BY p.ptint IN () , LCASE(p.date_added) DESC, p.model ASC LIMIT 0,30 in /storage/content/55/1009455/walcopottery.be/public_html/vqmod/vqcache/vq2-system_database_mysql.php on line 50