# markshust/magento2-module-ordergrid

> The Order Grid module adds more details to the order grid in the admin.

`composer require markshust/magento2-module-ordergrid`

Canonical URL: https://packagento.com/markshust/magento2-module-ordergrid

## At a glance

- **Vendor**: markshust (https://packagento.com/markshust.md)
- **Latest version**: 3.0.0 — released 2026-06-12
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/markshust/magento2-module-ordergrid and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require markshust/magento2-module-ordergrid:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

The Order Grid module adds more details to the order grid in the admin.

## README

<h1 align="center">MarkShust_OrderGrid</h1> 

<div align="center">
  <p>Adds more details to the order grid in the admin.</p>
  <img src="https://img.shields.io/badge/magento-2.2%20|%202.3%20|%202.4-brightgreen.svg?logo=magento&longCache=true&style=flat-square" alt="Supported Magento Versions" />
  <a href="https://packagist.org/packages/markshust/magento2-module-ordergrid" target="_blank"><img src="https://img.shields.io/packagist/v/markshust/magento2-module-ordergrid.svg?style=flat-square" alt="Latest Stable Version" /></a>
  <a href="https://packagist.org/packages/markshust/magento2-module-ordergrid" target="_blank"><img src="https://poser.pugx.org/markshust/magento2-module-ordergrid/downloads" alt="Composer Downloads" /></a>
  <a href="https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity" target="_blank"><img src="https://img.shields.io/badge/maintained%3F-yes-brightgreen.svg?style=flat-square" alt="Maintained - Yes" /></a>
  <a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" /></a>
</div>

### Table of contents

- [Summary](#summary)
- [Installation](#installation)
- [Usage](#usage)
- [Credits](#credits)
- [License](#license)

### Summary

Out of the box, the Magento admin displays high-level information within the sales order grid. It does not provide more detailed information would could be useful to specific businesses.

This module adds more detailed information to the admin order grid. Initially, a new column is added to the order grid which contains order line items, which includes specific quantity and product names of items ordered.

### Installation

```
composer require markshust/magento2-module-ordergrid
bin/magento module:enable MarkShust_OrderGrid
bin/magento setup:upgrade
```

### Usage

This module has no configuration. Just install, and you'll see a new column in the order grid called Order Items.

![Screenshot](https://raw.githubusercontent.com/markshust/magento2-module-ordergrid/master/docs/demo.png)

### Credits

#### M.academy

This course is sponsored by <a href="https://macade.my/s4c9Qk" target="_blank">M.academy</a>, the simplest way to learn Magento.

<a href="https://macade.my/s4c9Qk" target="_blank"><img src="docs/macademy-logo.png" alt="M.academy"></a>

#### Mark Shust

My name is Mark Shust and I am a 6X Adobe Commerce Certified Developer and the founder of <a href="https://macade.my/s4c9Qk" target="_blank">M.academy</a>. Since the early days of Magento, I've been involved with many intricately complex eCommerce and open-source projects.

My passion is teaching and helping others learn Magento, and has created many courses and tutorials to help thousands of students from all over the world to learn and improve their Magento skills.

- <a href="https://macade.my/s4c9Qk" target="_blank">🖥️ Learn with Magento courses</a>
- <a href="https://www.linkedin.com/in/MarkShust/" target="_blank">🔗 Connect on LinkedIn</a>
- <a href="https://youtube.com/markshust" target="_blank">🎥 Watch on YouTube</a>
- <a href="https://m.academy/contact/" target="_blank">💌 Contact me</a>

### License

[MIT](https://opensource.org/licenses/MIT)

## Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

### [3.0.0] - 2026-06-12

#### Changed
- Corrected the declared PHP constraint from `^7|^8` to `^8`, since the code uses PHP 8.0+ syntax (union types) and was never actually compatible with PHP 7.x. [#19](https://github.com/markshust/magento2-module-ordergrid/issues/19)

### [2.0.0] - 2025-05-13

#### Fixed
- Order grid page errors when pipe symbol (and possibly other special characters) appear in SKU [#15](https://github.com/markshust/magento2-module-ordergrid/issues/15)

### [1.1.1] - 2022-02-10

#### Fixed
- Bug when filtering by order date [#13](https://github.com/markshust/magento2-module-ordergrid/issues/13)

### [1.1.0] - 2022-08-01

#### Updated
- Update order_items field into export-friendly format. [#12](https://github.com/markshust/magento2-module-ordergrid/issues/12)

### [1.0.9] - 2021-11-02

#### Fixed
- Order grid filter does not work anymore. [#8](https://github.com/markshust/magento2-module-ordergrid/issues/8)

### [1.0.8] - 2021-04-16

#### Fixed
- Added strict types and few other minor updates to pass static analysis checks. [ecd1da99](https://github.com/markshust/magento2-module-ordergrid/commit/ecd1da99c9019c95f957166fb312368497271b9a)

### [1.0.7] - 2021-02-26

#### Fixed
- Count always displays “”1 records found”. [#5](https://github.com/markshust/magento2-module-ordergrid/pull/5)
- Cannot select all items. [#5](https://github.com/markshust/magento2-module-ordergrid/pull/5)

### [1.0.6] - 2021-02-04

#### Fixed
- Version bump for Composer package resolution.

### [1.0.5] - 2021-02-04

#### Fixed
- Fixed filters and order grid styles [#4](https://github.com/markshust/magento2-module-ordergrid/pull/4).

### [1.0.4] - 2020-04-22

#### Fixed
- Updated php and magento framework version constraints to >=7.1 and >=101 respectively, for more seamless compatibility with new Magento releases.

### [1.0.3] - 2020-04-22

#### Fixed
- Updated php version constraint to ~7.1 (any version 7.1 or higher).

### [1.0.2] - 2019-10-18

#### Fixed
- Updated composer version constraints to support newer versions of Magento.

### [1.0.1] - 2019-05-10

#### Fixed
- Fixes suggested by Magento Coding Standard.

### [1.0.0] - 2019-01-11

#### Added
- Initial release.

## Recent Versions

| Version | Released |
|---|---|
| 3.0.0 | 2026-06-12 |
| 2.0.0 | 2025-03-13 |
| 1.1.1 | 2023-02-10 |
| 1.1.0 | 2022-08-01 |
| 1.0.9 | 2021-11-02 |
| 1.0.8 | 2021-04-16 |
| 1.0.7 | 2021-03-26 |
| 1.0.6 | 2021-02-04 |
| 1.0.5 | 2021-02-04 |
| 1.0.4 | 2020-04-22 |

Showing 10 of 13 versions. Full release history on https://packagento.com/markshust/magento2-module-ordergrid.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | ^101\|^102\|^103 |
| php | ^8 |

## Quality

Latest release (3.0.0) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 2 | 2 warnings (ruleset: Magento2) — 1 auto-fixable with phpcbf |
| PHPMD | Warning | 2 | 2 rule violations (IfStatementAssignment:1, UnusedFormalParameter:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 3 | 3 | – | – |
| 2.4.8 | – | 2 | 2 | – |
| 2.4.9 | – | – | 2 | 2 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["markshust/magento2-module-ordergrid"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

markshust is a Magento 2 vendor on Packagento. See https://packagento.com/markshust.md for their full catalogue.

