hackathon / magento2-eavcleaner
Purpose of this project is to check for different flaws that can occur due to EAV and provide cleanup functions.
Installs: 53 274
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 3
Forks: 83
Open Issues: 2
Type:magento2-module
Requires
- php: ~7.1|~7.2|~7.3
- magento/magento-composer-installer: *
- magento/magento2-base: ~2.2|~2.3
This package is auto-updated.
Last update: 2021-10-28 08:20:56 UTC
README
Magento 2 EAV Cleaner Console Command
Purpose of this project is to check for different flaws that can occur due to EAV and provide cleanup functions.
Dry run
Use --dry-run to check result without modifying data.
Commands
eav:config:restore-use-default-value
Check if config admin value and storeview value are the same, so "use default" doesn't work anymore. Delete the storeview values.eav:attributes:restore-use-default-value
Check if product attribute admin value and storeview value are the same, so "use default" doesn't work anymore. Delete the storeview values.eav:attributes:remove-unused
Remove attributes with no values set in products and attributes that are not present in any attribute sets.eav:media:remove-unused
Remove unused product images.
Usage
Run bin/magento
in the Magento 2 root and look for the eav:
commands.
Installation
Installation with composer:
composer require hackathon/magento2-eavcleaner
Contributors
- Nikita Zhavoronkova
- Anastasiia Sukhorukova
- Peter Jaap Blaakmeer
Special thanks to
- Benno Lippert
- Damian Luszczymak
- Joke Puts
- Ralf Siepker