htcmage/m2-eavcleaner

Remove unused images, remove unused eav

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.2 2020-09-24 11:21 UTC

This package is auto-updated.

Last update: 2024-05-24 20:20:08 UTC


README

Purpose of this project is to check for different flaws that can occur due to EAV and provide cleanup functions.

Magento 2

You've found the Magento 2 version. Yay for you!

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.

Installation

Use composer or copy the app/code/HTCMage folder to your installation.

Usage

Run bin/magento in the Magento 2 root and look for the eav: commands.