Last published version :
Discount Rules is a Dolibarr module useful to discounts and prices...
Copyright (C) 2019 ATM Consulting contact@atm-consulting.fr Discount Rules is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (GPL-3+).
See the COPYING file for a full copy of the license.
DOLIBARR minimum version 11.0
- If you get the module in a zip file (like when downloading it from the market place Dolistore), go to
menu
Home - Setup - Modules - Deploy external module
and upload the zip file.
Note: If this screen tells you there is no custom directory, check your setup is correct:
-
In your Dolibarr installation directory, edit the
htdocs/conf/conf.php
file and check that following lines are not commented://$dolibarr_main_url_root_alt ... //$dolibarr_main_document_root_alt ...
-
Uncomment them if necessary (delete the leading
//
) and assign a sensible value according to your Dolibarr installationFor example :
-
UNIX:
$dolibarr_main_url_root_alt = '/custom'; $dolibarr_main_document_root_alt = '/var/www/Dolibarr/htdocs/custom';
-
Windows:
$dolibarr_main_url_root_alt = '/custom'; $dolibarr_main_document_root_alt = 'C:/My Web Sites/Dolibarr/htdocs/custom';
-
- Clone the repository in
$dolibarr_main_document_root_alt/discountrules
cd ....../custom
git clone git@github.com:gitlogin/discountrules.git discountrules
From your browser:
- Log into Dolibarr as a super-administrator
- Go to "Setup" -> "Modules"
- You should now be able to find and enable the module