qqlaw Posted February 8, 2017 Share Posted February 8, 2017 Hello, When I am in backoffice and try to add an order, I would like to show the customer's address in the little box. in /themes/default/template/controllers/orders/form.tpl: function searchCustomers() { .......................... html += '<div class="panel-heading">'+this.company+' '+this.firstname+' '+this.lastname; html += '<span class="pull-right">#'+this.id_customer+'</span></div>'; html += '<span>'+this.email+'</span><br/>'; html += '<span>'+this.addresses+'</span><br/>'; But that just shows as "undefined" so i think i need to add something in the controllers/admin/AdminCustomersController.php (searchCustomers) but i am not sure. Can somebody tell me what code am i missing? I am using Prestashop 1.6.1.7 Thank you. Link to comment Share on other sites More sharing options...
qqlaw Posted February 10, 2017 Author Share Posted February 10, 2017 anyone? Link to comment Share on other sites More sharing options...
qqlaw Posted February 15, 2017 Author Share Posted February 15, 2017 Bump Link to comment Share on other sites More sharing options...
qqlaw Posted February 16, 2017 Author Share Posted February 16, 2017 Can somebody please help me? 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