Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore empty value for certain category attributes #144

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

PaulEmich
Copy link

Magento has the following attributes which are allowed to be overruled by marking the "use config" checkbox.
Using this importer I did not find any way to pass an empty value for these required attributes, hence this pull request.

During the category validation in Magento (\Magento\Catalog\Model\CategoryRepository::validateCategory) these fields are stored in a data attribute named use_post_data_config. If no value is passed for these fields the required validation gets ignored.

This pull request kind of copies this behaviour and allows the user to pass an empty value in the category importer.

mitchelvk added a commit to madebymouses/FireGento_FastSimpleImport2 that referenced this pull request Aug 12, 2024
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