RicardoCounago Posted October 17, 2023 Share Posted October 17, 2023 Hello, everyone: I need to show two new fields on the backoffice. I have them in the db on the customer table. I just need to know how to get the data from the db to de view, where I already could prepare de field presentation. I want to show it in the marked area in the picture. Thanks in advance. Link to comment Share on other sites More sharing options...
Yelish Posted October 18, 2023 Share Posted October 18, 2023 Hello, how are you? Changing the files in the back office is not a good idea; it can cause many problems when updating PrestaShop. Ideally, you should find a module that allows you to display more fields in the customer table in the back office without modifying the customer table or using overrides (overrides also cause many problems when updating PrestaShop). It's not difficult to do, and there should be several options available. Link to comment Share on other sites More sharing options...
RicardoCounago Posted October 19, 2023 Author Share Posted October 19, 2023 Hello, Thanks for the advice. But I think that buying a module is to much for that task. I have everything working since getting the data from the user to storage it in the DB. I just need to get the data in the back office. It was something easy before but I don't know how to do it since 1.7 update. I hope someone knows which files I need to edit. Thanks in advance. Link to comment Share on other sites More sharing options...
Yelish Posted November 11, 2023 Share Posted November 11, 2023 Using overrides in PrestaShop is generally considered a bad practice because they can lead to significant maintenance challenges and compatibility issues. Overrides modify the core behavior of PrestaShop, which can cause conflicts with future updates or other modules. When PrestaShop is updated, there's a risk that these overrides may not be compatible with the new version, leading to a broken site or lost functionalities. I'm not saying it, the AI is saying it. 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