Jump to content

Swap Order Reference for Order ID on order-detail.tpl


Recommended Posts

I'm removing the order reference number from anything customer facing and replacing it with id_order, but I can't seem to do it on the order-details.tpl. I think maybe the variable doesn't exist on that page, but I'm not enough of a programmer to figure out how to get it there. This is the code I'd like to change:

 

<strong>{l s='Order Number %s placed on' sprintf=$order->getUniqReference()} {dateFormat date=$order->date_add full=0}</strong>

I tried replacing sprintf=$order->getUniqReference() with sprintf=$order->id_order but that did not work. Any ideas?

 

I'm using PrestaShop 1.6.1.18 and a custom copy of the default bootstrap theme.

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...