Notice: Undefined index: cartuserid in /home/u39179/dvavodoleya.ru/www/modules/cart/cart.inc.php on line 95
"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 A.order_id = 0' at line 5" :: SELECT B.id, B.category_id, B.name, B.price AS price_real, A.count, (A.count * B.price) as summ FROM vdl_cart AS A LEFT JOIN vdl_products AS B ON A.product_id = B.id WHERE A.user_id=0 AND A.user_id_cookie = AND A.order_id = 0