CategoryImporter
CategoryImporter copied to clipboard
Fix additional headers and root category selection
- The additional headers generated array can generate empty values (which lend later to warning or errors). We use array_filter to remove empty values.
- If no parent id is selected, instead of automatically selecting '2' as category root, we check what the category root for the default store view is. We could even ask this value as parameter (TODO)
Hi Please detect the default store view instead of hardcoding 1