https://github.com/opengento/magento2-sales-sequence
Allows to setup with ease the prefix, format and suffix of sales sequences directly from the configuration.
https://github.com/opengento/magento2-sales-sequence
creditmemo increment-id invoice magento magento-2 magento-extension magento-module magento2 magento2-extension magento2-extension-free magento2-module order sales sequence shipment version
Last synced: 6 months ago
JSON representation
Allows to setup with ease the prefix, format and suffix of sales sequences directly from the configuration.
- Host: GitHub
- URL: https://github.com/opengento/magento2-sales-sequence
- Owner: opengento
- License: mit
- Created: 2024-08-05T16:39:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-07T21:04:27.000Z (11 months ago)
- Last Synced: 2025-04-23T21:03:27.765Z (6 months ago)
- Topics: creditmemo, increment-id, invoice, magento, magento-2, magento-extension, magento-module, magento2, magento2-extension, magento2-extension-free, magento2-module, order, sales, sequence, shipment, version
- Language: PHP
- Homepage:
- Size: 42 KB
- Stars: 5
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Sales Sequence Configurable Module for Magento 2
[](https://packagist.org/packages/opengento/module-sales-sequence)
[](./LICENSE)
[](https://packagist.org/packages/opengento/module-sales-sequence/stats)
[](https://packagist.org/packages/opengento/module-sales-sequence/stats)This module allows to setup the sales sequence settings directly withing the configuration.
- [Setup](#setup)
- [Composer installation](#composer-installation)
- [Setup the module](#setup-the-module)
- [Features](#features)
- [Settings](#settings)
- [Documentation](#documentation)
- [Support](#support)
- [Authors](#authors)
- [License](#license)## 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 ValueThis 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](https://github.com/opengento/magento2-sales-sequence/issues) to the issue tracker.
## Authors
- **Opengento Community** - *Lead* - [](https://twitter.com/opengento)
- **Thomas Klein** - *Maintainer* - [](https://github.com/thomas-kl1)
- **Contributors** - *Contributor* - [](https://github.com/opengento/magento2-sales-sequence/graphs/contributors)## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.
***That's all folks!***