Order Number is a random unique strong

  • David
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 8 months ago #66992 by David
Hello Giang,

I am pleased with the fact that you are updating and improving the eShop system with each release. And you have made some really nice improvements. My issue is that my employer, would like me to put back in the numbers rather than show the RANDOM UNIQUE STRONG, at least in the emails and the web response after a purchase.

Is it possible to replace the RANDOM UNIQUE STRONG with the order number, as it was before, in the email layouts. If not would you please point me to a file containing the code to edit, or something similar. I appreciate any help you can offer.

David

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 8 months ago #67021 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Order Number is a random unique strong
Hello David,

You can open the file components/com_eshop/helpers/helper.php, search the function sendEmails, you will see the $adminSubject and $customerSubject, simply replace $row->order_number by $row->id.

Hope that this is useful.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • David
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 8 months ago #67051 by David
Replied by David on topic Order Number is a random unique strong
Hello Giang,

That worked. Thank you very much!

David

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 8 months ago #67069 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Order Number is a random unique strong
No problem at all David!

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong