hajar_rolin Posted April 25, 2022 Share Posted April 25, 2022 I want to display the product reference for each order in this table so that I can generate an excel file with the desired fields, do you have any idea how I can do it ? This is the Current SQL query Link to comment Share on other sites More sharing options...
abdullacm Posted April 26, 2022 Share Posted April 26, 2022 for customizing the order list grid, you need to create a module and use 2 hooks actionOrderGridDefinitionModifier actionOrderGridQueryBuilderModifier Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 26, 2022 Share Posted April 26, 2022 You can also try to directly modify the Core files. File Path: /src/Core/Grid/Definition/Factory/OrderGridDefinitionFactory.php In the above file you can modify the below function: protected function getColumns() To add the column. And in below file: /src/Core/Grid/Query/OrderQueryBuilder.php You have to modify the query to show the data according to your requirement. Function: private function getBaseQueryBuilder(array $filters) 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