This Magento 2 module extends the default purchase order payment method by a customer group and admin filter. You can use it to allow the payment method only for specific customer groups or disable it in the checkout and use it only in the admin area.
- Define that the payment method should only be available for specific customer groups.
- Define that the payment method should only be available in the backend.
- Magento >= 2.3.3
The installation procedure highly depends on your setup. In any case, you should use a version control system like git and test the installation on a development system.
composer require customgento/module-invoice-m2
bin/magento module:enable CustomGento_Invoice
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
- unzip the downloaded files
- create the directory
app/code/CustomGento/Invoice/
:mkdir -p app/code/CustomGento/Invoice/
- copy the unzipped files to the newly created directory
app/code/CustomGento/Invoice/
bin/magento module:enable CustomGento_Invoice
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
The installation procedure depends on your setup:
bin/magento module:uninstall CustomGento_Invoice
bin/magento setup:di:compile
bin/magento cache:flush
bin/magento module:disable CustomGento_Invoice
bin/magento setup:di:compile
bin/magento cache:flush
rm -r app/code/CustomGento/Invoice
If you have any issues with this extension, feel free to open an issue on GitHub.
© 2018 - present CustomGento / Simon Sprankel