GBPro Posted April 22, 2022 Share Posted April 22, 2022 (edited) Bonjour, Je suis entrain de faire un module, et j'ai besoin de récupérer l'id du customer quand je me situe dans le détail d'une de ses commandes. Comment faire svp ? Grâce au context ? Mon but est de transmettre cet id en paramètre dans une url pour accéder à un hook de mon module. En vous remerciant. Edited April 25, 2022 by GuillaumePro (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted April 22, 2022 Share Posted April 22, 2022 $order->id_customer Link to comment Share on other sites More sharing options...
GBPro Posted April 22, 2022 Author Share Posted April 22, 2022 Ah bah impeccable merci, c'était tout simple. Link to comment Share on other sites More sharing options...
Divine Posted April 22, 2022 Share Posted April 22, 2022 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