Colourcoding Magento extension

One of KPMG Crimsonwing’s top priorities is to produce eCommerce stores that fulfill our clients’ needs and business requirements. One of our most recent customers required all their orders to be displayed at line level in the Magento Admin Console, displaying every item ordered in a separate line on the order grid. This was due to the clients business process of dealing with various suppliers. Each order item/line has its own status and in addition to this, each row has a different colour depending on its status and supplier.

What does the colourcoding extension do?

The client also required additional functionality to manage suppliers, so we had to use a module which would provide this functionality. To manage the suppliers we used the extension created by Unirgy – ‘uDropship’ (which is described more in a dedicated post). To fulfill the rest of clients’ needs we created a module called colourcoding. The colourcoding displays on the Magento order grid in the admin console and represents suppliers and order statuses.



How it works with Magento

Combining the colourcoding module with Magento and uDropship’s mechanisms gives the client control of the order at line level and much more:

  • For each order item it is possible to change the individual status. One item can be with a supplier and another shipped
  • The status can be changed for order items on mass
  • The supplier can be changed for each order item
  • The default supplier for an individual product can be changed
  • List of statuses and suppliers are dynamic and totally manageable using standard Magento and uDropship management mechanisms
  • For each combination of status/supplier it is possible to change the colour from a colour picker or inserting a HEX value directly, this colour will be used for the whole line in the grid to make it clearly visible to administrators
  • The colour of the font will adjust to the darkness of the colour, to gain the optimal contrast
  • Using a simple trick we even allow admin to limit access to column “cost” so it can be seen by some administrators, but not others