Download the PHP package macopedia/module-omnibusdirective without Composer
On this page you can find all versions of the php package macopedia/module-omnibusdirective. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download macopedia/module-omnibusdirective
More information about macopedia/module-omnibusdirective
Files in macopedia/module-omnibusdirective
Package module-omnibusdirective
Short Description Implementation of EU Omnibus Directive for Magento 2
License GPL-3.0
Informations about the package module-omnibusdirective
Macopedia Magento 2 Omnibus Directive module
Implementation of EU Omnibus Directive for Magento 2.
- Requirements
- Main features
- Not implemented features
- Installation
- Prices import
Requirements
Magento version > 2.4.x
Main features
- Historical prices
- Adds
Historical price
andHistorical price updated at
product attributes - Keeps minimal price from last 30 days - calculated from
price
andspecial_price
attributes change after product save in admin panel - Cronjob which removes historical prices older than 30 days
- Displays historical price on product view page
- Adds
- Trusted review validation
- Extends product review form by an additional input
order_number
- Validates purchased product by order number (Increment ID) - only validated buyer can add review to product
- Extends product review form by an additional input
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
-
Using composer:
- Using zip file:
- Download zip file
- Extract module in directory
app/code/Macopedia/OmnibusDirective
Enable module and install patches:
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
):
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):
and updated prices array $data
(after import values):