Error while catalog import using CSV
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 25
- Joined: 17 Aug 2023, 00:16
Error while catalog import using CSV
Laravel framework version: 10.18.0
Aimeos Laravel version: 2023.07
PHP Version: 8.2.8
Environment: Linux
Hello,
I am using CSV file for importing categories. I am using default mapping which is,
For 'catalog.parent' I am using 'home'. Home is category already added in Aimeos with code as 'home'. My CSV file looks like,
This CSV is not working and when I check logs I see following error, 'Unable to import catalog with code "snacks": Parent node for code "home" not found' for every line of CSV. I am not sure what I am doing wrong.
Aimeos Laravel version: 2023.07
PHP Version: 8.2.8
Environment: Linux
Hello,
I am using CSV file for importing categories. I am using default mapping which is,
Code: Select all
[
'item' => [
0 => 'catalog.code',
1 => 'catalog.parent',
2 => 'catalog.label',
3 => 'catalog.status',
],
]
Code: Select all
"main","home","Main","1"
"side","home","Side","1"
"addons","home","Addons","1"
"snacks","home","Snacks","1"