Skip to content

Commit e524e08

Browse files
author
Nikita Zhavoronkov
committed
Merge branch 'magento1' of https://github.com/magento-hackathon/EAVCleaner into magento2
2 parents 4df7106 + 79f5c6d commit e524e08

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# EAV Cleaner Console Command
2+
3+
Purpose of this project is to check for different flaws that can occur due to EAV and provide cleanup functions.
4+
5+
Use --dry-run to check result without modifying data.
6+
7+
# Magento 2
8+
9+
You've found the Magento 2 version. Yay for you!
10+
11+
# Commands
12+
13+
* `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.
14+
* `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.
15+
* `eav:attributes:remove-unused` Remove attributes with no values set in products and attributes that are not present in any attribute sets.
16+
* `eav:media:remove-unused` Remove unused product images.
17+
18+
### Ideas
19+
20+
See [issues labeled enhancement](https://github.com/magento-hackathon/EAVCleaner/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement)
21+
22+
### Installation
23+
24+
Use composer or copy the app/code/EAVCleaner folder to your installation.
25+
26+
### Usage
27+
28+
Run `bin/magento` in the Magento 2 root and look for the `eav:` commands.
29+
30+
### Contributors
31+
- Nikita Zhavoronkova
32+
- Anastasiia Sukhorukova
33+
- Peter Jaap Blaakmeer
34+
35+
### Special thanks to
36+
- Benno Lippert
37+
- Damian Luszczymak
38+
- Joke Puts
39+
- Ralf Siepker

composer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "hackathon/eavcleaner-m2",
3+
"description": "N/A",
4+
"type": "magento2-module",
5+
"minimum-stability": "stable",
6+
"require": {
7+
"php": "~5.6.0|~7.0.*",
8+
"magento/framework": "100.0.*"
9+
},
10+
"autoload": {
11+
"files": [
12+
"app/code/EAVCleaner/registration.php"
13+
],
14+
"psr-4": {
15+
"EAVCleaner\\": "app/code/EAVCleaner/"
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)