Download the PHP package rollpix/module-orderstatuscolor without Composer

On this page you can find all versions of the php package rollpix/module-orderstatuscolor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-orderstatuscolor

Magento 2 Order Status Color

Latest Stable Version License Magento 2 Mage-OS PHP

A Magento 2 module that allows you to customize order status colors in the admin panel. Add visual color badges to order statuses for better order management and quick status identification.

Developed by Rollpix

Features

Compatibility

Platform Versions
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Mage-OS 2.0.x, 2.1.x
PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4

Screenshots

Color Picker in Status Form

The color picker includes a palette of predefined colors and a custom color picker for any HEX color.

Orders Grid with Colored Badges

Order statuses are displayed as colored badges for quick visual identification.

Order Status Grid with Color Column

View all configured colors in the Order Status management grid.

Requirements

Installation

Via Composer (Recommended)

Enable the Module

Manual Installation

  1. Create directory app/code/Rollpix/OrderStatusColor
  2. Download and extract the module files into that directory
  3. Run the enable commands above

Configuration

Setting Up Status Colors

  1. Navigate to Stores > Settings > Order Status in the Magento Admin
  2. Click on any existing status to edit, or create a new status
  3. You will see a new Status Color field with:
    • A palette of 24 predefined colors (click to select)
    • A custom color picker for any color
    • A text field to enter HEX codes manually (e.g., #FF5733)
  4. Select or enter your desired color
  5. Click Save Status

Viewing Colors

Color Format

Predefined Color Palette

The module includes 24 carefully selected colors:

Color HEX Use Case
Green #2ECC71 Complete, Success
Blue #3498DB Processing, In Progress
Red #E74C3C Cancelled, Failed
Orange #E67E22 Pending, On Hold
Yellow #F1C40F Warning, Attention
Purple #9B59B6 Special, VIP
Gray #7F8C8D Closed, Archived

Technical Details

Database Changes

The module adds a status_color column (VARCHAR 7) to the sales_order_status table to store HEX color codes.

Module Structure

Troubleshooting

Colors not showing in Orders grid

  1. Clear all caches: php bin/magento cache:flush
  2. Deploy static content: php bin/magento setup:static-content:deploy -f
  3. Clear browser cache

Color picker not appearing in status form

  1. Recompile DI: php bin/magento setup:di:compile
  2. Clear generated code: rm -rf generated/code/*
  3. Flush cache: php bin/magento cache:flush

Column not showing in Status grid

  1. Clear layout cache: php bin/magento cache:clean layout
  2. Clear full page cache: php bin/magento cache:clean full_page

Uninstallation

Note: The status_color column will remain in the database. To remove it completely, run:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

License

This module is licensed under the MIT License - see the LICENSE file for details.

Changelog

1.0.0


Made with love by Rollpix


All versions of module-orderstatuscolor with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4 || >=8.0
magento/framework Version >=103.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rollpix/module-orderstatuscolor contains the following files

Loading the files please wait ...