Notice: 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 'OR pd.tag LIKE '%squishy%' OR LCASE(p.model) = 'squishy' OR LCASE(p.sku) = 'squi' at line 1
Error No: 1064
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) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ( OR pd.tag LIKE '%squishy%' OR LCASE(p.model) = 'squishy' OR LCASE(p.sku) = 'squishy' OR LCASE(p.upc) = 'squishy' OR LCASE(p.ean) = 'squishy' OR LCASE(p.jan) = 'squishy' OR LCASE(p.isbn) = 'squishy' OR LCASE(p.mpn) = 'squishy') in /ebs1/store2/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /ebs1/store2/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 529 Search - squishy