Generate sequential order numbers when orders are placed #144

Closed
jedateach opened this Issue Apr 21, 2013 · 7 comments

Comments

Projects
None yet
4 participants
Contributor

jedateach commented Apr 21, 2013

The system will currently use the order ID as the order number. This can be confusing for store owners, as it gives the appearance that there are many orders being placed, but not showing up in the back-end. It is actually many orders that are being started, as the order ID is automatically created every time a cart is started.

A better default solution would be to generate a new order reference number when an order is placed.

Contributor

wildflower commented Apr 21, 2013

Those could/should be shown in an abandoned carts report/status?

Contributor

jedateach commented Apr 21, 2013

Yes, we can still use the abandoned carts for reporting, but the orders that are placed, should have sequential order numbers. It just looks a bit nicer in the back-end, and less confusing.

Contributor

jedateach commented Apr 21, 2013

Created #145

We could use a strategy pattern for this - so the default would be what you describe above but you could configure the infector to use a different strategy - for example a random string of numbers and letters or adding a prefix. In my experience this is the kind of thing some store owners are pretty specific about so such an approach would allow almost unlimited customisation.

Contributor

jedateach commented Jan 20, 2015

👍 sounds good to me

Collaborator

bummzack commented Jun 29, 2016

Is this still an issue? This should already be doable with the generateReference hook?

Collaborator

bummzack commented Oct 10, 2016

Closing this. Please reopen if there's still a need for this (eg. something that can't be solved via generateReference).

@bummzack bummzack closed this Oct 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment