Install Discounts¶
Discounts are available as an LTS update to Ibexa Commerce, starting with version v4.6.19 or higher. To use this feature you must first install the packages and configure them.
Install packages¶
Run the following commands to install the packages:
1 |
|
These commands add the feature code, service handlers, helper Twig templates, and configurations required for using Discounts. It also modifies the permission system to account for the new functionality.
Configure Discounts¶
Once the packages are installed, before you can start using Discounts, you must enable them by following these instructions.
Modify the database schema¶
Run the following command, where <database_name>
is the same name that you defined when you installed Ibexa DXP.
1 |
|
1 |
|
This command modifies the existing database schema by adding database configuration required for using Discounts.
You can now review the existing configuration options to adjust this feature, or restart your application to start working with it.