Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
/ EAVCleaner Public archive
forked from magento-hackathon/EAVCleaner

Magento 2 - Clean up your Magento database by removing orphaned, unused and wrongly added attribute, attribute values and settings

Notifications You must be signed in to change notification settings

Vendic/EAVCleaner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Magento 2 - Clean up your Magento database by removing orphaned, unused and wrongly added attribute, attribute values and settings

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%