Skip to content

export fails if products have no assigned category#8

Open
arnesteinbach wants to merge 1 commit intoOC-Git:mainfrom
arnesteinbach:patch-1
Open

export fails if products have no assigned category#8
arnesteinbach wants to merge 1 commit intoOC-Git:mainfrom
arnesteinbach:patch-1

Conversation

@arnesteinbach
Copy link
Copy Markdown

If you want to export products to K3 that should not have a visible category, this is currently not possible because $article->getCategory() can also return null. In this case, the category's getFieldData function fails and causes the entire export to crash.

If you want to export products to K3 that should not have a visible category, this is currently not possible because `$article->getCategory()` can also return `null`. In this case, the category's `getFieldData` function fails and causes the entire export to crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant