Extended Voucher Rules: Installation
Install Extended Voucher Rules for OXID eShop 7: requirements, Composer installation via Packeton, module activation, database tables and update.
Extended Voucher Rules: Installation
Live Demo: Try this and other plugins live — no installation, no risk: demo.markus-michalski.net
Requirements
| Requirement | Version |
|---|---|
| OXID eShop | oxid-esales/oxideshop-ce ^7.0 |
| PHP | >= 8.2 |
| Composer | for installation and updates |
Installation via Composer
The module is a private Composer package (mmd/oxid7-voucherrules, module ID mmd_voucherrules) provided through Packeton. You receive the credentials after purchasing the license.
The module classes are loaded through the Composer autoloader (namespace
Mmd\VoucherRules). An installation without Composer, for example by copying the directory, is therefore not supported.
1. Add the private repository (in the shop's composer.json):
{
"repositories": [
{
"type": "composer",
"url": "https://packeton.markus-michalski.net"
}
]
}
2. Install the package:
composer require mmd/oxid7-voucherrules
When Composer asks for authentication, enter the credentials you received with the license.
3. Activate the module and clear the cache:
vendor/bin/oe-console oe:module:activate mmd_voucherrules
vendor/bin/oe-console oe:cache:clear
Alternatively, you can activate the module in the admin under the extensions.
Database tables
On activation the module creates its seven tables with the prefix mmd_voucherrules_ (CREATE TABLE IF NOT EXISTS). All data is kept when the module is deactivated. The tables are listed in the technical documentation.
Verify
After activation, every voucher series under Shop Settings > Voucher Series shows four additional tabs, see Configuration.
Update
composer update mmd/oxid7-voucherrules
vendor/bin/oe-console oe:cache:clear
Create a database backup before every update.