Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Не известная ошибка


bodyak0
 Share

Recommended Posts

Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'customer_group_id' in 'field list'
Error No: 1054
INSERT INTO oc_product_option_value SET product_option_value_id = '0', product_option_id = '271', product_id = '1161897898', option_id = '14', option_value_id = '61', quantity = '12', subtract = '1', price = '0', price_prefix = '+', points = '0', points_prefix = '+', customer_group_id = '1', weight = '0', weight_prefix = '+'' in /home/k/

Не пойму почему не могу сохранить товар что он требует от меня?

Link to comment
Share on other sites


в иблиэто oc_product_option_value  нет поля customer_group_id

 

а в запросе оно есть.

 

создайте в этот иблиэто поле int 11 с названием customer_group_id

Link to comment
Share on other sites


6 хвилин назад, Jurgen сказав:

в иблиэто oc_product_option_value  нет поля customer_group_id

 

а в запросе оно есть.

 

создайте в этот иблиэто поле int 11 с названием customer_group_id

создал запрос ALTER TABLE oc_product_option_value ADD` customer_group_id` INT (11) NOT NULL AFTER weight_prefix;
но ничего не изменилось и же проблема -_-

 

Link to comment
Share on other sites


3 хвилини назад, Vetroff сказав:

Видимо, какая-то модификация опций с привязкой к группе пользователей или маркетплейс

ну это и есть модификатор опции для разных групп пользователей

Link to comment
Share on other sites


Проблема решена

Edited by bodyak0
Проблема решена
Link to comment
Share on other sites


13 минут назад, bodyak0 сказал:

создал запрос ALTER TABLE oc_product_option_value ADD` customer_group_id` INT (11) NOT NULL AFTER weight_prefix;
но ничего не изменилось и же проблема -_-

 

зналит не им создали

Link to comment
Share on other sites


2 хвилини назад, Jurgen сказав:

зналит не им создали

Link to comment
Share on other sites


1 хвилину назад, Jurgen сказав:

ну и выполните запрос... 

ох епт заметил ошибка, пробел в запросе был:wacko: Спасипотому что прошу проещёния))

Link to comment
Share on other sites


Тема закрыи. Всем спасипотому что за советы)

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.