-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.29
-- Error-message(debug-mod must be tuned on) -- : 1064 - 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 b.price_value > 0' at line 1 SQL=SELECT count(*) as total FROM pescaTestDB_hikashop_product as a LEFT JOIN pescaTestDB_hikashop_price as b ON b.price_product_id = a.product_id WHERE a.product_type = 'variant' and a.product_parent_id = and b.price_value > 0
Hi,
I don`t know if this is the correct forum category. Sorry for the inconvenience.
An SQL error arise when I enable a cart module:
1064 - 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 b.price_value > 0' at line 1 SQL=SELECT count(*) as total FROM pescaTestDB_hikashop_product as a LEFT JOIN pescaTestDB_hikashop_price as b ON b.price_product_id = a.product_id WHERE a.product_type = 'variant' and a.product_parent_id = and b.price_value > 0.
If you check last 5 words you can watch that there is an "and" between 'a.product_parent_id =' and 'b.price_value > 0' so there should be some data before the 'and'.
Best Regards