Fatal error: Uncaught Exception: Error: Unknown column 'pc.product_id' in 'where clause'<br />Error No: 1054<br />SELECT
pov1.product_option_value_id AS `option_value_id`,
pov2.product_option_value_id AS `option_value_depend_id`,
cdop.price
FROM oc_product_depend_option_price AS cdop
LEFT JOIN oc_product_option_value AS pov1 ON pov1.option_value_id = cdop.option_value_id AND pov1.product_id = pc.product_id
LEFT JOIN oc_product_option_value AS pov2 ON pov2.option_value_id = cdop.option_value_depend_id AND pov2.product_id = pc.product_id
WHERE pc.product_id = 3331
# AND cdop.product_id
# AND cov.option_value_id IS NOT NULL
ORDER BY price ASC
in /home/monument/monument-service.ru/docs/system/library/db/mysqli.php:40
Stack trace:
#0 /home/monument/monument-service.ru/docs/system/library/db.php(45): DB\MySQLi->query('SELECT\r\n\t\t\t\t\t\t\t...')
#1 /home/mo in /home/monument/monument-service.ru/docs/system/library/db/mysqli.php on line 40