betyonfire Posted May 1, 2018 Share Posted May 1, 2018 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 More sharing options...
Daresh Posted May 1, 2018 Share Posted May 1, 2018 Why not just make the order reference = order ID instead of tracking it and removing from everywhere? https://www.prestashop.com/forums/topic/495065-free-module-numeric-order-reference/ Link to comment Share on other sites More sharing options...
Toto Mir Posted August 4, 2022 Share Posted August 4, 2022 This worked for me (1.7): {$order_invoice->id_order} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now