Jump to content

How to change the query for the orders list in Back Office - Prestashop 1.7.8


Ana MBL

Recommended Posts

I need to change the way the information is retrieved for the orders list in the BO.

I know the columns and filters are defined in /public_html/src/Core/Grid/Definition/Factory/OrderGridDefinitionFactory.php , but I don't need to change the columns, just the information inside them (for example, for the customer name column, in certain situations the name should be shown differently). However I can't find where the actual query that retrieves the data is created.

Edited by Ana MBL
added prestashop version (see edit history)
Link to comment
Share on other sites

  • Ana MBL changed the title to How to change the query for the orders list in Back Office - Prestashop 1.7.8
  • 1 year later...

Hello Ana MBL,

I'm using Prestashop 1.7.8.11. Without your help, it would have been very difficult to display the City and State instead of the country and to show the full name of the customer.

Thank you very much


 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...