jacques123 Posted December 28, 2016 Share Posted December 28, 2016 (edited) bonjour, dans mon module je crée un formulaire pour ajouter un client et mon controleur utilise le code suivant: $email = Tools :: getValue('mhemail', false); $nom = Tools :: getValue('mhnom', false); $raisoc = Tools :: getValue('mhraisoc', false); $customer = new Customer(); $customer->lastname=$nom; $customer->email=$email; $customer->company=$raisoc; $this->context->customer = $customer; je suppose que je dois faire un customer::add(...) en lisant la classe Customer. y a t'il un descriptif précis pour utiliser ce add. merci Edited December 28, 2016 by jacques123 (see edit history) 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