Skip to content

Remove orphaned attributes #12

@peterjaap

Description

@peterjaap
  • Create a list of all product attributes from the database
  • Search through the codebase to see whether they are mentioned in InstallData/UpdateData scripts - those are fine
  • Search through phtml files to see whether they are used (also make sure to look for getAttributeName / setAttributeName instead of just attribute_name) - those are fine
  • We should whitelist all core attributes since those have names that occur a lot ('name' / 'sku')
  • The remaining product attributes might be removeable

This probably can't be done automatically since it'll most likely show too many false positives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions