Ошибка в SQL запросе: SELECT * FROM mg_product_variant WHERE product_id = ORDER BY sort ASC 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 'ORDER BY sort ASC' at line 1