Fatal error: Uncaught Exception: Error: Unknown column 'ps.quantity' in 'where clause'<br />Error No: 1054<br />SELECT COUNT(DISTINCT ps.product_id) AS total FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' 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())) AND ps.quantity > 0 in /hosting/clients/iwsc/clients/sanos/clients/polytex/web/www/www.polytexcom.ro/system/library/db/mysqli.php:40 Stack trace: #0 /hosting/clients/iwsc/clients/sanos/clients/polytex/web/www/www.polytexcom.ro/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...') #1 /hosting/clients/iwsc/clients/sanos/clients/polytex/web/www/www.polytexcom.ro/catalog/model/catalog/product.php(531): DB->query('SELECT COUNT(DI...') #2 /hosting/clients/iwsc/clients/sanos/clients/polytex/w in /hosting/clients/iwsc/clients/sanos/clients/polytex/web/www/www.polytexcom.ro/system/library/db/mysqli.php on line 40