Nandos Posted September 8, 2016 Share Posted September 8, 2016 (edited) Hi guys o/ Since we have to deal with a lot of companies, we don't always know the name of their employee, so we'd like to see their companies' names into the order tab in order to rapidly check and, when we want, to search for them there. In this case, I'm wondering how i can add to the BO order tab a column to show the company name associated to the user that made that order. Anyone can help me do that? I would really appreciate that, thanks in advance guys. Edited September 12, 2016 by Nandos (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted September 12, 2016 Share Posted September 12, 2016 I just checked the code and it seems PrestaShop already adds a "Company" field to the orders tab if you set "Enable B2B mode" to "Yes" on the Preferences > Customers tab. Are you able to enable that setting? If not, you'll need to create an override to display that field even if the option is disabled. 1 Link to comment Share on other sites More sharing options...
Nandos Posted September 12, 2016 Author Share Posted September 12, 2016 (edited) I just checked the code and it seems PrestaShop already adds a "Company" field to the orders tab if you set "Enable B2B mode" to "Yes" on the Preferences > Customers tab. Are you able to enable that setting? If not, you'll need to create an override to display that field even if the option is disabled. Yes, it worked, thanks! Anyway, since PS as default enables APE and SIRET codes in the registration page with this change, but i'm in Italy, I put under comment those fields from the file "authentication.tpl" in order to not show them on the page, so now a new company can also write its name and the website. I also added a line to specify to normal user to avoid those fields to register the account. I mark as solved, if any problem, i'll contact you again rocky Edited September 12, 2016 by Nandos (see edit history) 1 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