Since the OXID e-shop does not offer a discount price directly on the product, we decided to write a module for it quickly.
We offer this module completely for free use.
New Features
What feature(s) did you add?
- This module displays the products discounts directly on the articles page.
- Renames the
Block pricebutton in the article page toDiscounts - Show all discounts that are available for the current user for the viewed article in the
DiscountsWindow - Each discount will get displayed with its name and the appropriate discount value as percentage or absolute number
- Renames the
How did you implement it/them?
This is the first version. Therefore, all commits are relevant here. The complete change log can you find [here]
The whole thing looks like this:
Click on the button just opens the discount popup:
Note
This module was written for Oxid6 Community Edition.
It should run on a fresh Oxid Installation.
We can not guarantuee that the module is working properly on other oxid versions.
Installation
The module can be installed via composer.
Step 1: Directory
Go to the root directory of oxid (the one that contains the vendor and the source folder).
Step 2: Composer
Execute the following composer command:
composer require "pcsg/oxid-products-discount" "^1.0"
This will download the module and install it into the correct directory.
Step 3: Oxid
Activate the Module in your admin panel.
You are welcome to report bugs here:
https://github.com/pcsg/pcsg-oxid-product-discounts/issues
Thanks for reading,
Flo from PCSG Developers
Posted on Utopian.io - Rewarding Open Source Contributors