vivianne Posted December 7, 2020 Share Posted December 7, 2020 Hi! Does anybody know where in the version 1.7.7 has the content of AdminOrdersController has moved? I cannot find anything in the documentation about it and need to integrate my changes, which I have placed there in the previous versions. 1 Link to comment Share on other sites More sharing options...
MSiliunas Posted December 12, 2020 Share Posted December 12, 2020 Hey, I'm having difficulties with this also. No mention in the docs. Module with AdminOrdersController override does not work either. Also – OP, you should make the title more clear. At least include controller name. Link to comment Share on other sites More sharing options...
WisQQ Posted January 14, 2021 Share Posted January 14, 2021 On 12/7/2020 at 11:10 AM, vivianne said: Hi! Does anybody know where in the version 1.7.7 has the content of AdminOrdersController has moved? I cannot find anything in the documentation about it and need to integrate my changes, which I have placed there in the previous versions. Looks like they moved it to /src/PrestaShopBundle/Controller/Admin/Sell/Order But i'm not 100% sure about that, still override doesnt work. Link to comment Share on other sites More sharing options...
coeos.pro Posted January 14, 2021 Share Posted January 14, 2021 attention I detected a lot of problem about VAT on 1.7.7.0 and 1.7.7.1, even the native Prestashop module for VAT does not work, not to mention the anomalies on invoices, rather stay on 1.7.6.9 Link to comment Share on other sites More sharing options...
MSiliunas Posted January 14, 2021 Share Posted January 14, 2021 Just now, coeos.pro said: attention I detected a lot of problem about VAT on 1.7.7.0 and 1.7.7.1, even the native Prestashop module for VAT does not work, not to mention the anomalies on invoices, rather stay on 1.7.6.9 Can you be more specific? I haven't seen issues with it. We are using 1.7.7.0 for over a month now. Disclaimer: we use external invoicing system but still, I haven't experience issues with VAT. Link to comment Share on other sites More sharing options...
coeos.pro Posted January 14, 2021 Share Posted January 14, 2021 sometimes it's bugs, sometimes anomalies TTC = with taxes HT = without taxes 3 different examples, with groups of customers without taxes or with the native module of prestashop to have invoices without VAT for foreign professionals the price TTC is in fact the price HT : the sentence "Exempté de TVA conformément au Code Général des Impôts, art 259B." is for invoice without taxes... and the invoice is with taxes : another examples : order with taxes but we can see prices without taxes (19.12), the taxes (3.82), but not the sum (22.94), take out your calculators Link to comment Share on other sites More sharing options...
50l3r Posted May 12, 2021 Share Posted May 12, 2021 The VAT problem was solved? How can i override the /src/PrestaShopBundle/Controller/Admin/Sell/Order.php to add fields to order list? Link to comment Share on other sites More sharing options...
Janett Posted May 13, 2021 Share Posted May 13, 2021 10 hours ago, 50l3r said: How can i override the /src/PrestaShopBundle/Controller/Admin/Sell/Order.php to add fields to order list? To add fields you should not override the controller but create a module using kooks actionOrderGridDefinitionModifier, actionOrderGridQueryBuilderModifier and actionOrderGridDataModifier. This is described for CustomerGrid here : https://devdocs.prestashop.com/1.7/modules/sample-modules/grid-and-identifiable-object-form-hooks-usage/#adding-new-column-to-customers-grid I found a module example for OrderGrid here : https://github.com/Matt75/displayordercarrier 1 Link to comment Share on other sites More sharing options...
50l3r Posted May 13, 2021 Share Posted May 13, 2021 3 minutes ago, Janett said: To add fields you should not override the controller but create a module using kooks actionOrderGridDefinitionModifier, actionOrderGridQueryBuilderModifier and actionOrderGridDataModifier. This is described for CustomerGrid here : https://devdocs.prestashop.com/1.7/modules/sample-modules/grid-and-identifiable-object-form-hooks-usage/#adding-new-column-to-customers-grid I found a module example for OrderGrid here : https://github.com/Matt75/displayordercarrier Great. Much thanks. Link to comment Share on other sites More sharing options...
vivianne Posted July 2, 2021 Author Share Posted July 2, 2021 I still found no option to show the bought products in the order list, without opening each order by clicking the arrow. In 1.7.6.9 we had a separate column which listed every bought product, so we could filter and search for them in the list. Can anybody help me out here? Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 2, 2021 Share Posted July 2, 2021 55 minutes ago, vivianne said: I still found no option to show the bought products in the order list, without opening each order by clicking the arrow. In 1.7.6.9 we had a separate column which listed every bought product, so we could filter and search for them in the list. Can anybody help me out here? I have quite nice module for it. I will send you on private later on if i find it. Very useful one. 1 Link to comment Share on other sites More sharing options...
Ionl Posted August 9, 2021 Share Posted August 9, 2021 Hi! I want to hide New client and delivery-country columns in the order list, backoffice. I tried in AdminOrdersController but it doesn't work. I am using PS 1.7.7.4. I ckecked it in: /src/PrestaShopBundle/Controller/Admin/Sell/OrderController.php but I don´t know how hide the columns. Could someone help me to erase the two columns? Thanks Link to comment Share on other sites More sharing options...
pattila01 Posted November 24, 2021 Share Posted November 24, 2021 @ionl check this: /src/Core/Grid/Definition/Factory/OrderGridDefinitionFactory.php 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