cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the order # when soneone placed from 00000001 to OR-1234

Occasional Contributor

How to change the order # when soneone placed from 00000001 to OR-1234

Hi I have a question I hope someone can help me with it and tell me how I can do it

I need to change the order # when someone placed the order they get order # 00000001 and so on I need to change it to like OR-1234 and so on does anyone know how to do that? And doesn’t mind of helping that would be great

i`m useing magento 1.9.3

 

thank you

  Danny

4 REPLIES
4 x Certified

Re: How to change the order # when soneone placed from 00000001 to OR-1234

Occasional Contributor

Re: How to change the order # when soneone placed from 00000001 to OR-1234

Hi thank you for the reply but it doesn't give me to put OR - and the # how would I do that?

Highlighted
4 x Certified

Re: How to change the order # when soneone placed from 00000001 to OR-1234

Hi @Dannyb,


Well... that part could be solved with an override or an observer. The kind of modification that you want is possible, isn't too hard but it needs a little bit of work.

I can't find some post ot thread with the right example at this moment.

You could use an observer to capture the orde before save and set the increment_id with the format that you want (addind letters to the number).

 

Occasional Contributor

Re: How to change the order # when soneone placed from 00000001 to OR-1234

ok thank you ill try it on a demo site and see if it would work 

 

thank you for your help Smiley Happy