- Posts: 469
- Thank you received: 21
Order admin notification shows order code instead of numeric order ID
- Reincidente
-
Topic Author
- Offline
Less
More
3 weeks 5 hours ago #100000613
by Reincidente
-- Browser(s) name and version -- : Chrome 156.0
Hello Nicolas,
After updating to HikaShop Business 6.7.1, I've noticed a change in the order notification emails sent to the administrator.
Previously, the first lines of the email included the numeric order ID, for example:
"Hello,
You can access the order details directly by clicking on the link below after logging into your administration: 92860."
Now, after the update, the same email displays an alphanumeric order code instead, for example: H9Q2N8K60.
This is a problem for us because we use the numeric order ID extensively in our daily order management and internal processes.
My questions are:
Thank you for your help.
Best regards,
José Ángel
Hermanos Galiano
www.hermanosgaliano.es
Hello Nicolas,
After updating to HikaShop Business 6.7.1, I've noticed a change in the order notification emails sent to the administrator.
Previously, the first lines of the email included the numeric order ID, for example:
"Hello,
You can access the order details directly by clicking on the link below after logging into your administration: 92860."
Now, after the update, the same email displays an alphanumeric order code instead, for example: H9Q2N8K60.
This is a problem for us because we use the numeric order ID extensively in our daily order management and internal processes.
My questions are:
- Is this an intentional change introduced in the latest version, or could it be a bug?
- Is there a way to restore the numeric order ID in the administrator notification email, as it appeared before?
- Could both identifiers be displayed in the email, without changing the existing order numbering configuration?
Thank you for your help.
Best regards,
José Ángel
Hermanos Galiano
www.hermanosgaliano.es
The following user(s) said Thank You: oxido
Please Log in or Create an account to join the conversation.
3 weeks 2 hours ago #100000616
by nicolas
Replied by nicolas on topic Order admin notification shows order code instead of numeric order ID
Hi,
It is an intentional change, not a bug. In the latest build of HikaShop 6.7.1 (and in 6.
, the link to the order in the administrator notification shows the order number instead of the full back end address. That address was very long and made the email wider than the page in Outlook on Windows, cutting its right side on screen and when printed. The numeric ID you used was the order_id at the end of that address; the link itself still points to the same page, so clicking it opens the order as before.
Good to know first: with the default order number format of HikaShop, which yours is, the order number already contains the numeric ID. It is the digits of the ID with letters between them: in H9Q2N8K60, take the digits only and you get 92860, the ID of that order.
If you prefer to see the numeric ID written out, you can show it next to the order number, without touching any core file and without changing your order numbering:
1. In the back end, go to System > Emails and open "Order admin notification".
2. In the HTML version, switch to the Code view and find {TXT:ORDER_BEGIN_MESSAGE}
3. Replace it with: {TXT:ORDER_BEGIN_MESSAGE} ({VAR:order.order_id})
4. Save.
The first lines of the email will then read, for example: "...después de iniciar sesión en su administración: H9Q2N8K60 (92860)", with the order number still being the link. You can use the Preview button of that screen with one of your orders to check it before the next order arrives.
The version you save is written as a separate .modified.php file in media/com_hikashop/mail, so it is kept when you update HikaShop. The email form is explained here: www.hikashop.com/support/documentation/2...shop-email-form.html
If you also want the ID in the "Payment notification" email, the same change works there: its HTML version has the same {TXT:ORDER_BEGIN_MESSAGE} tag.
Another way, if you ever want the order number itself to be the numeric ID everywhere (emails, invoices, customer account, back end), is the "Order number format" setting in System > Configuration > Main > Order: set it to {id} instead of {automatic_code}. It changes the numbering you asked to keep, though, and only for the orders created after the change, existing orders keeping their current number. It is described here: www.hikashop.com/support/documentation/54-hikashop-config.html
It is an intentional change, not a bug. In the latest build of HikaShop 6.7.1 (and in 6.
Good to know first: with the default order number format of HikaShop, which yours is, the order number already contains the numeric ID. It is the digits of the ID with letters between them: in H9Q2N8K60, take the digits only and you get 92860, the ID of that order.
If you prefer to see the numeric ID written out, you can show it next to the order number, without touching any core file and without changing your order numbering:
1. In the back end, go to System > Emails and open "Order admin notification".
2. In the HTML version, switch to the Code view and find {TXT:ORDER_BEGIN_MESSAGE}
3. Replace it with: {TXT:ORDER_BEGIN_MESSAGE} ({VAR:order.order_id})
4. Save.
The first lines of the email will then read, for example: "...después de iniciar sesión en su administración: H9Q2N8K60 (92860)", with the order number still being the link. You can use the Preview button of that screen with one of your orders to check it before the next order arrives.
The version you save is written as a separate .modified.php file in media/com_hikashop/mail, so it is kept when you update HikaShop. The email form is explained here: www.hikashop.com/support/documentation/2...shop-email-form.html
If you also want the ID in the "Payment notification" email, the same change works there: its HTML version has the same {TXT:ORDER_BEGIN_MESSAGE} tag.
Another way, if you ever want the order number itself to be the numeric ID everywhere (emails, invoices, customer account, back end), is the "Order number format" setting in System > Configuration > Main > Order: set it to {id} instead of {automatic_code}. It changes the numbering you asked to keep, though, and only for the orders created after the change, existing orders keeping their current number. It is described here: www.hikashop.com/support/documentation/54-hikashop-config.html
Please Log in or Create an account to join the conversation.
- Reincidente
-
Topic Author
- Offline
Less
More
- Posts: 469
- Thank you received: 21
3 weeks 2 hours ago #100000617
by Reincidente
Replied by Reincidente on topic Order admin notification shows order code instead of numeric order ID
It works.
Thank so much!!
Thank so much!!
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds