Jump to content

Recommended Posts

Hello all!

 

I've been poking around in the shop (ver 1.5.5.0) for a little while and think I have most things under control or figured out. But one thing bugs me and I can't seem to find a solution no matter how I look in the forum (unless one count very old posts which doesn't help very much).

 

To the problem... I want to change the way a customer get his/her number. As it is now, they are numbered 000001, 2, 3 and so on. But I would like to have it configured by the days date, like this: 20131003-1 (First customer registering today, second would end with -2) and increase as they register.

 

Is it at all possible? Or I should leave it alone and just use an addon to change the customer number instead and keep it the way it is by default?

 

I'm kind of new to this so please be very specific and straight forward  :)

Link to comment
Share on other sites

in my opinion it's bad idea to change customer ID number, it's because this field is based on INT auto increment field and this is necessary for databases based on mysql mainly due to the idea of primary keys, indexes etc.

 

you've got customer register date field, why to duplicate it? it will be a bit redundant

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...