r00t3r Posted July 26, 2018 Share Posted July 26, 2018 hello , guys how to get userid in orders backend in hookDisplayAdminOrder or order reference ? public function hookDisplayAdminOrder() { $order = new Order($params['id_order']); echo $order; } Link to comment Share on other sites More sharing options...
Rolige Posted July 26, 2018 Share Posted July 26, 2018 Hello, Userid?, you mean customer id?, if so and continuing with your code example you can get it with $order->id_customer Regards! Link to comment Share on other sites More sharing options...
BabaSimo Posted February 18, 2022 Share Posted February 18, 2022 Pour récupérer tous les Commandes by id user ***Order::getCustomerOrders((int)$this->context->customer->id))** 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