I am surprised that the Order number used in ubercart still using a sequential number.
For a real business, it is not quite be acceptable and really non-user friendly.
Anybody keep eyes on this matter ?
|
Ubercart |
|
|
|
||
|
Sat, 03/21/2009 - 05:31
I am surprised that the Order number used in ubercart still using a sequential number. Anybody keep eyes on this matter ?
Re: Format of an Order number (prefix or sufix)
+1 for this suggestion if nothing has already been implemented (I haven't been able to find anything much) although it looks as if it has been discussed here previously. The idea suggested that the prefix is created as a seperate field looks ideal for what I need (need to be able to quickly identify where payments have came from [multiple web shops paying into the same bank account] in order to keep the books up to date). Has any work been done on this at all?
Re: Format of an Order number (prefix or sufix)
I also need this. Let's continue this discussion here. Also I have uploaded a contrib module that does not solve the problem completely, but may be useful depending on your needs:
Re: Re: Format of an Order number (prefix or sufix)
Thanks for the contrib module, looks like it might actually cover what I need but I am an error when trying to allow the module: Depends on: Array (Missing) Any ideas? Allan
Re: Re: Re: Format of an Order number (prefix or sufix)
Sounds like you running D5/UC1? This module is for D6/UC2.
Re: Re: Re: Re: Format of an Order number (prefix or sufix)
That would be the problem! Am i right in saying that there is no backwards compatibility for this module at the moment then?
Re: Re: Re: Re: Re: Format of an Order number (prefix or sufix)
It would need to be backported to D5/UC1, which really should be pretty easy. The module is only 73 lines long. The implementation of hook_form_FORM_ID_alter would need to be replaced with an implementation of hook_form_alter, and the .info file would need to be changed to the D5 format. The module is really not super useful unless some things change in the core uc_orders module though, and if/when that happens those changes are probably not going to be backported to UC1. So I'm not sure it's worth doing. If a UC1 version of this would really be useful to you, I could backport it real quick and post it. You'd have to test it out on your own though, since I don't run D5, and don't expect it to be maintained.
Re: Format of an Order number (prefix or sufix)
small problem regards order number: possible solutions: 2- a field uid_no (uid relative number order) where is insert the number of order tha for every user set the numbers of order; so shop's owner can have in own view other at order_id, also the other two fields and with possibility of make order |
|