Michielgb Posted February 1, 2013 Share Posted February 1, 2013 (edited) Hi there, I'm fairly new to PrestaShop and although I understand the basics, I can't seem to figure out how to display the order ID and total amount of the order on the order-confirmation page. Somehow I have to include these variables in the OrderConfirmationController so that I can display them on the order-confirmation.tpl page itself, right? Does anyone know? Thnx in advance. *Edit: woops, asked a little too soon. For those reading, add in the controller: self::$smarty->assign('orderid', $this->id_order); self::$smarty->assign('amountpaid', $order->total_paid_real); Add in the tpl within some html: {$orderid} {$amountpaid} Edited February 1, 2013 by Michielgb (see edit history) Link to comment Share on other sites More sharing options...
manosk24 Posted July 6, 2015 Share Posted July 6, 2015 Hi team, how to show Order ID in order confirmation page...any one can help me... Link to comment Share on other sites More sharing options...
vekia Posted July 6, 2015 Share Posted July 6, 2015 hello things changed since 2013 what ps version you use at the moment? Link to comment Share on other sites More sharing options...
manosk24 Posted July 6, 2015 Share Posted July 6, 2015 thanks for your reply... version 1.6 Link to comment Share on other sites More sharing options...
NemoPS Posted July 6, 2015 Share Posted July 6, 2015 See my tut: http://nemops.com/prestashop-replace-order-references-with-ids/#.VZpJnvnzrmgIf you need this. Otherwise just modify order-confirmation.tpl and try with {$order->id} if it works 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