opengento / module-sales-sequence
This module allows to setup the sales sequence settings directly withing the configuration.
Fund package maintenance!
www.helloasso.com/associations/opengento/formulaires/1
Installs: 723
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 6
Forks: 0
Open Issues: 1
Type:magento2-module
Requires
- php: ^8.1
- magento/framework: *
- magento/module-backend: *
- magento/module-config: *
- magento/module-sales-sequence: *
- magento/module-store: *
Requires (Dev)
- magento/magento-coding-standard: ^33
- roave/security-advisories: dev-latest
README
This module allows to setup the sales sequence settings directly withing the configuration.
Disclaimer
Please note that if you install this module, the existing sequence profiles will be update with the configuration set from this module.
If you aim to deploy this module in production, please ensure that you have setup configuration matching your existing sequence profiles, unless you want to update them.
Setup
Magento 2 Open Source or Commerce edition is required.
Composer installation
Run the following composer command:
composer require opengento/module-sales-sequence
Setup the module
Run the following magento command:
bin/magento setup:upgrade
If you are in production mode, do not forget to recompile and redeploy the static resources.
Features
Setup the following sales sequence settings by entity types (order, invoice, creditmemo, shipment):
- Pattern
- Suffix
- Prefix
- Add Store ID
- Start Value
- Step
- Warning Value
- Max Value
This module is an alternative to this package: https://github.com/karliuka/m2.SalesSequence.
The main difference is that faonni/module-sales-sequence allows to manage sales sequences profile as an entity, whereas
our module achieve it via settings you can edit from the scoped configuration.
If you enable the store ID, it will be added a the fourth argument in the pattern. We recommend you to use the numered argument syntax (%4$s) in order to the position of your choice in the pattern.
Documentation
- The sequence profiles and meta are updated at every recurring setup, config update, new or deleted store.
Support
Raise a new request to the issue tracker.
Authors
License
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!