Skip to content

Adds new CLI Command (mageguide:sort:options) that takes an argument (any multiselect product attribute) and sorts the attribute's options alphabetically.

Notifications You must be signed in to change notification settings

mageguide/attribute-options-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MageGuide AttributeOptionsSort

Tested on: 2.3+

Description

Adds new CLI Command (mageguide:sort:options) that takes an argument (any multiselect product attribute) and sorts the attribute's options alphabetically.

Functionalities

  • Console Command
    • SortAlpabetically

Steps to setup / use as *Usage

  • Upload module files in app/code/MageGuide/AttributeOptionsSort
  • Install module
        $ php bin/magento module:enable MageGuide_AttributeOptionsSort
        $ php bin/magento setup:upgrade
        $ php bin/magento setup:di:compile
  • Run CLI Command
        $ php bin/magento mageguide:sort:options -o "<attribute_name>"

Screenshots

Magento Admin Sorted Options

Alt text

About

Adds new CLI Command (mageguide:sort:options) that takes an argument (any multiselect product attribute) and sorts the attribute's options alphabetically.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages