Skip to content

interactiv4/magento-cloud-sales-increment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magento-cloud-sales-increment

This module fixes sequences used for generating increments in sales entities (orders, invoices, credit memos) on Magento Cloud environment. The problem is that on Magento Cloud environments configured setting "auto_increment_increment" for Mysql with value "3". This leads to the next sequence of "increment_id" values for sales entities: 000000001, 000000004, 000000007, 000000010... The magento-cloud-sales-increment module rewrites the original sales sequence model to get new sales "increment_id" values with step value "1" instead of "3". So result sequence of "increment_id" values will be: 000000001, 000000002, 000000003, 000000004...

Requirements

Magento Community Edition 2.2.|2.3. or Magento Enterprise Edition 2.2.|2.3.

Installation

  • Go to your installation directory of Magento 2 and perform the following commands
  • composer config repositories.comwrap vcs https://github.com/comwrap/magento-cloud-sales-increment
  • composer require comwrap/magento-cloud-sales-increment dev-master
  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile
  • php bin/magento cache:clean

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%