Jump to content
dunno

Prefix for order number

Recommended Posts

Hi,

I want to add prefix on order numbers. I want order number looks like ORD00001, and not just #000001
Does anybody can help me ? thanks...

Share this post


Link to post
Share on other sites

There is an option to add prefix to Invoice number or delivery number, but not for order number.
You can change invoice/delivery prefix at back office - orders tab - invoices /delivery sub tab

Share this post


Link to post
Share on other sites

In PS 1.4.8.2:

As I found, the # is in My account - history and in mails.

How to change in My account - Administration - translations - front office - find history and replace this translation to whitespace.

 

In mails, it´s harder, better do override controller, don´t edit the core.

Open classes/PaymentModule.php

 

and find '{order_name}', then just remove the #.

I forgot, that I have a small implementation already there...

http://www.prestasho...999#entry898999

 

but the # in mail is showing only in order details.

 

Edit:

found next occurency in OrderConfirmationController

Edited by haunter (see edit history)

Share this post


Link to post
Share on other sites

Any sort story to fix the Order Prefix without touching the Database ? Let me know please at webmaster@bespoketailoredleather.com

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More