I’ve used the SQL scripts at this link to remove all test product data and categories. I’ve then read the category ‘Products’ and then imported my CSV file, which Magento says is fine when checking the data, but when I click import I am receiving the following error:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or
update a child row: a foreign key constraint fails
(gare6221_qshed/catalog_product_website, CONSTRAINT
FK_CAT_PRD_WS_PRD_ID_CAT_PRD_ENTT_ENTT_IDFOREIGN KEY (product_id)
REFERENCEScatalog_product_entity(entity_id) ON DELETE CASCADE )
Any ideas guys? I’m really struggling with this one.
Thanks
This has been fixed and the problem was due to SKU lengths being above 64 characters.