cancel
Showing results for 
Search instead for 
Did you mean: 

How to boost number in /order_id/375/ URL or how to hide this part in URL?

How to boost number in /order_id/375/ URL or how to hide this part in URL?

On fronted when customer clicks on "Vew my order" he gets URL like this:  

domain/sales/order/view/order_id/375/

 

when he clicks on "print order" the URL will be: 

domain/sales/order/print/order_id/375/

 

By looking at the "375" people can know the number of actual orders site has.

 

Question 1) How can I boost that "order_id/375/ to a longer number

for example  order_id/ 1537615/" . Where  this info stored in database?   

 

or, is it possible to hide this part of URL  (view order  and print order at customer account)

or do something that will hide the actual amount of orders on site.

 

 Question 2) What file do I need to edit to replace  /order_id/" in that URL  and use a different word instead , for example "/transaction/

 

( I use Magento 1.9.2.2)

 

Thank you !!!

 

2 REPLIES

Re: How to boost number in /order_id/375/ URL or how to hide this part in URL?

You raise a good point but unfortunately the order id itself is tied into many different places.


What you could do is simply increase the order id either with a module or through the database and set the next id extremely high so that the next order would follow.

 

The other small tip, check with  your accountant because if you are matching orders to invoices ect this could cause another problem Smiley Happy

Re: How to boost number in /order_id/375/ URL or how to hide this part in URL?

Thanks! 

 

I like the idea to edit database and set value to a longer number

 

Does anyone knows where that next "order_id" value is stored in database?  

(the internal Magento order ID)

I simply can not find it.

 

For example  "order Increment ID" (the ID customers see in invoice)

is stored in table called "eav_entity_store"  under  “increment_last_id”

I changed it to a larger number.

 

Can I do the same thing for "order_id" ? Thanks