PHPackages                             macopedia/module-omnibusdirective - 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. macopedia/module-omnibusdirective

ActiveMagento2-module

macopedia/module-omnibusdirective
=================================

Implementation of EU Omnibus Directive for Magento 2

1.0.8(3y ago)1711.3k↑18.2%3[4 issues](https://github.com/macopedia/magento2-omnibusdirective/issues)[1 PRs](https://github.com/macopedia/magento2-omnibusdirective/pulls)GPL-3.0PHP

Since Jul 21Pushed 1y ago6 watchersCompare

[ Source](https://github.com/macopedia/magento2-omnibusdirective)[ Packagist](https://packagist.org/packages/macopedia/module-omnibusdirective)[ RSS](/packages/macopedia-module-omnibusdirective/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

Macopedia Magento 2 Omnibus Directive module
============================================

[](#macopedia-magento-2-omnibus-directive-module)

Implementation of EU Omnibus Directive for Magento 2.

- [Requirements](#requirements)
- [Main features](#main-features)
- [Not implemented features](#not-implemented-features)
- [Installation](#installation)
- [Prices import](#prices-import)

🚀 Update 07.03.2025
-------------------

[](#rocket-update-07032025)

The current version of the plugin is available for purchase on the [**Magento Marketplace**](https://commercemarketplace.adobe.com/macopedia-module-omnibusdirective.html).

Requirements
------------

[](#requirements)

Magento version &gt; 2.4.x

Main features
-------------

[](#main-features)

1. Historical prices
    1. Adds `Historical price` and `Historical price updated at` product attributes
    2. Keeps minimal price from last 30 days - calculated from `price` and `special_price` attributes change after product save in admin panel
    3. Cronjob which removes historical prices older than 30 days
    4. Displays historical price on product view page
2. Trusted review validation
    1. Extends product review form by an additional input `order_number`
    2. Validates purchased product by order number (Increment ID) - only validated buyer can add review to product

Not implemented features
------------------------

[](#not-implemented-features)

- checking from / to special price date before remove special price value
- calculate historical price after save by Rest API and Soap API
- calculate historical price after product mass action update
- keep all price changes from last 30 days
- keep historical prices per customer groups
- keep historical prices calculated by catalog rules
- keep historical tier prices

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

[](#installation)

1. Using composer:

```
composer require macopedia/module-omnibusdirective

```

2. Using zip file:
    1. Download zip file
    2. Extract module in directory `app/code/Macopedia/OmnibusDirective`

Enable module and install patches:

```
   bin/magento module:enable Macopedia_OmnibusDirective
   bin/magento setup:upgrade

```

Notice - if you have custom theme and modified review form template file `Magento_Review/templates/form.phtml` you have to add manually `order_id` input (see example in file `view/frontend/templates/review/form.phtml`):

```

    escapeHtml(__('Order number')) ?>

```

Prices import
-------------

[](#prices-import)

If you have custom script to import prices, you can use method `\Macopedia\OmnibusDirective\Model\Product\HistoricalPrice::getHistoricalPriceUpdateValue` to calculate historical price. As parameters, you should pass array with original prices `$origData` (before import values):

```
$origData =
[
    'special_price' => xxx,
    'historical_price' => xxx,
    'price' => xxx
]
```

and updated prices array `$data` (after import values):

```
$data =
[
    'special_price' => xxx,
    'price' => xxx
]
```

Screenshots
-----------

[](#screenshots)

### Historical price on product page

[](#historical-price-on-product-page)

[![product-page-historical-price](https://user-images.githubusercontent.com/7571848/182821364-06fd096a-2c35-4398-9bfd-2971ab62b4e1.png)](https://user-images.githubusercontent.com/7571848/182821364-06fd096a-2c35-4398-9bfd-2971ab62b4e1.png)

### Review validation by order number field

[](#review-validation-by-order-number-field)

[![product-page-trusted-review](https://user-images.githubusercontent.com/7571848/182821384-b5a2d609-db29-4f88-a64a-05ecb59247af.png)](https://user-images.githubusercontent.com/7571848/182821384-b5a2d609-db29-4f88-a64a-05ecb59247af.png)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~36 days

Total

8

Last Release

1252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e44feab70b3b53b27178be962a8b5474af354f85292f2a662f015f022fdd3c11?d=identicon)[tmotyl](/maintainers/tmotyl)

---

Top Contributors

[![idziakjakub](https://avatars.githubusercontent.com/u/7571848?v=4)](https://github.com/idziakjakub "idziakjakub (2 commits)")[![natblo](https://avatars.githubusercontent.com/u/57145842?v=4)](https://github.com/natblo "natblo (2 commits)")[![tgrzemski](https://avatars.githubusercontent.com/u/3470861?v=4)](https://github.com/tgrzemski "tgrzemski (1 commits)")

### Embed Badge

![Health badge](/badges/macopedia-module-omnibusdirective/health.svg)

```
[![Health](https://phpackages.com/badges/macopedia-module-omnibusdirective/health.svg)](https://phpackages.com/packages/macopedia-module-omnibusdirective)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
