PHPackages                             thelia/easy-order-manager-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. thelia/easy-order-manager-module

ActiveThelia-module

thelia/easy-order-manager-module
================================

EasyOrderManager module for Thelia

2.1.4(9mo ago)01.1k6LGPL-3.0-or-laterHTMLCI passing

Since Mar 17Pushed 9mo ago6 watchersCompare

[ Source](https://github.com/thelia-modules/EasyOrderManager)[ Packagist](https://packagist.org/packages/thelia/easy-order-manager-module)[ RSS](/packages/thelia-easy-order-manager-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

Easy Order Manager
==================

[](#easy-order-manager)

Add a short description here. You can also add a screenshot if needed.

Installation
------------

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is EasyOrderManager.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require your-vendor/easy-order-manager-module

```

Usage
-----

[](#usage)

Once activated, you will see a new menu link in Thelia's Back Office. This new page allows you to easly manage all orders thanks to filters and search bars. This module uses Datables.

Events
------

[](#events)

You can use 2 events to add filters to this module :

```
BeforeFilterEvent::ORDER_MANAGER_BEFORE_FILTER
TemplateFieldEvent::ORDER_MANAGER_TEMPLATE_FIELD

```

In BeforeFilterEvent you have access to the order query and request.

In TemplateFieldEvent you can use the function addTemplateField(fieldName, templateName) to add a template with your new filter in it. You just need to add `js-filter-element` class to your filter input.

You can use one event to add or remove column to this module :

```
TemplateColumnDefinitionEvent::ORDER_MANAGER_TEMPLATE_COLUMN_DEFINITION

```

In TemplateColumnDefinitionEvent you can use the function `addColumnDefinition(template, index)`to add a new column to the dataTable.

```
//Example :
