Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Интеграция 1C с Интернет-магазином на OpenCart


rockstar1313
 Share

Recommended Posts

Добрый день не могу связать магазин с 1 С, выбивает вот такую ошибку!

 

Notice: Error: Table 'u66000yx_cart.oc_product_feature_value' doesn't exist
Error No: 1146
SELECT `pfv`.`product_feature_id`, `pov`.`product_option_id`, `pfv`.`product_option_value_id` FROM `oc_product_feature_value` `pfv` LEFT JOIN `oc_product_option_value` `pov` ON (`pfv`.`product_option_value_id` = `pov`.`product_option_value_id`) LEFT JOIN `oc_option` `o` ON (`pov`.`option_id` = `o`.`option_id`) WHERE `pfv`.`product_id` = 4369 ORDER BY `o`.`sort_order` in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 302Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 303Notice: Error: Table 'u66000yx_cart.oc_product_price' doesn't exist
Error No: 1146
SELECT `product_feature_id`, `price`, `unit_id` FROM `oc_product_price` WHERE `product_id` = 4369 AND `customer_group_id` = 1 in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 328Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 328Notice: Error: Table 'u66000yx_cart.oc_warehouse' doesn't exist
Error No: 1146
SELECT * FROM `oc_warehouse` in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 390Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 390

Link to comment
Share on other sites


CREATE TABLE `oc_product_feature_value` (
				`product_feature_id` 		INT(11) 		NOT NULL,
				`product_option_id` 		INT(11) 		NOT NULL,
				`product_id` 				INT(11) 		NOT NULL,
				`product_option_value_id` 	INT(11) 		NOT NULL,
				`price`						DECIMAL(15,4)	NOT NULL DEFAULT 0,
				`quantity`					INT(4)	NOT NULL DEFAULT 0,
				`status`					INT(1)			NOT NULL DEFAULT 0,
				UNIQUE KEY `product_feature_value_key` (`product_feature_id`, `product_id`, `product_option_value_id`),
				FOREIGN KEY (`product_feature_id`) 		REFERENCES `oc_product_feature`(`product_feature_id`),
				FOREIGN KEY (`product_option_id`) 		REFERENCES `oc_product_option`(`product_option_id`),
				FOREIGN KEY (`product_id`) 				REFERENCES `oc_product`(`product_id`),
				FOREIGN KEY (`product_option_value_id`)	REFERENCES `oc_product_option_value`(`product_option_value_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8

 

 

Модуль от Кириллове?

Link to comment
Share on other sites


1 час назад, n3bo сказал:
CREATE TABLE `oc_product_feature_value` (
				`product_feature_id` 		INT(11) 		NOT NULL,
				`product_option_id` 		INT(11) 		NOT NULL,
				`product_id` 				INT(11) 		NOT NULL,
				`product_option_value_id` 	INT(11) 		NOT NULL,
				`price`						DECIMAL(15,4)	NOT NULL DEFAULT 0,
				`quantity`					INT(4)	NOT NULL DEFAULT 0,
				`status`					INT(1)			NOT NULL DEFAULT 0,
				UNIQUE KEY `product_feature_value_key` (`product_feature_id`, `product_id`, `product_option_value_id`),
				FOREIGN KEY (`product_feature_id`) 		REFERENCES `oc_product_feature`(`product_feature_id`),
				FOREIGN KEY (`product_option_id`) 		REFERENCES `oc_product_option`(`product_option_id`),
				FOREIGN KEY (`product_id`) 				REFERENCES `oc_product`(`product_id`),
				FOREIGN KEY (`product_option_value_id`)	REFERENCES `oc_product_option_value`(`product_option_value_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8

 

 

Модуль от Кириллове?

Да

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.