Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 3.34 KB

README.md

File metadata and controls

83 lines (56 loc) · 3.34 KB

Sales Sequence Configurable Module for Magento 2

Latest Stable Version License: MIT Packagist Packagist

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

  • Opengento Community - Lead - Twitter Follow
  • Thomas Klein - Maintainer - GitHub followers
  • Contributors - Contributor - GitHub contributors

License

This project is licensed under the MIT License - see the LICENSE details.

That's all folks!