c64girl Posted November 4, 2022 Share Posted November 4, 2022 (edited) Why prestashop dont make a calculation of order list in back office? Is there any module or maybe someone find a way to add this information to order list in back office? The TOTAL last table in screenshot Example: Edited November 4, 2022 by c64girl (see edit history) Link to comment Share on other sites More sharing options...
ps8modules Posted November 5, 2022 Share Posted November 5, 2022 Hi. Because it's logically impossible. The table is displayed based on SQL and index ID. This is not a classic HTML table to add another row after filtering. Besides, what happens when you click on the check mark in the first column and choose an action? You will get an error. However, you can ask a programmer in the JOB section to create a block above the table with information on the total sum of filtered orders. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 7, 2022 Share Posted November 7, 2022 You can have this information in statistics, and filtering by period. Link to comment Share on other sites More sharing options...
c64girl Posted November 7, 2022 Author Share Posted November 7, 2022 59 minutes ago, Prestashop Addict said: You can have this information in statistics, and filtering by period. I need it in orders. Total sum of filtered orders will do the trick. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 7, 2022 Share Posted November 7, 2022 ok, so in this case you need a specific development. Link to comment Share on other sites More sharing options...
ps8modules Posted November 7, 2022 Share Posted November 7, 2022 It's nothing complicated. It is a job for a maximum of one hour. 1 Link to comment Share on other sites More sharing options...
ps8modules Posted November 7, 2022 Share Posted November 7, 2022 How about this? Is this your idea? 2 Link to comment Share on other sites More sharing options...
c64girl Posted November 8, 2022 Author Share Posted November 8, 2022 12 hours ago, 4you.software said: How about this? Is this your idea? This will only work when using date filter? Link to comment Share on other sites More sharing options...
ps8modules Posted November 8, 2022 Share Posted November 8, 2022 (edited) Works with any filter 😉It's just that what you see is calculated. If you have multiple pages for the filter, it will always display information about the selected page and list. Edited November 8, 2022 by 4you.software (see edit history) 1 Link to comment Share on other sites More sharing options...
c64girl Posted November 8, 2022 Author Share Posted November 8, 2022 If i do show items 5000 it will count too? Quote /index.php/sell/orders/?order[filters][date_add][from]=2022-10-31&order[limit]=5000&&order[filters][date_add][to]=2022-11-08 Link to comment Share on other sites More sharing options...
ps8modules Posted November 8, 2022 Share Posted November 8, 2022 It works in the background via Ajax, so unlimited. Of course, everything that is filtered can be calculated. You just need to know all the conditions. Link to comment Share on other sites More sharing options...
c64girl Posted November 9, 2022 Author Share Posted November 9, 2022 21 hours ago, 4you.software said: It works in the background via Ajax, so unlimited. Of course, everything that is filtered can be calculated. You just need to know all the conditions. So, any info how to do it? Link to comment Share on other sites More sharing options...
ps8modules Posted November 9, 2022 Share Posted November 9, 2022 Are you a Developer? I gave a demonstration that it can be done. I will not post free modules or long codes here. I have already advised you what to do. I have already recommended the JOB section. I personally spent two hours creating a working demo. Maybe someone can do it faster. I am happy to offer the module for sale. Link to comment Share on other sites More sharing options...
c64girl Posted November 9, 2022 Author Share Posted November 9, 2022 58 minutes ago, 4you.software said: Are you a Developer? I gave a demonstration that it can be done. I will not post free modules or long codes here. I have already advised you what to do. I have already recommended the JOB section. I personally spent two hours creating a working demo. Maybe someone can do it faster. I am happy to offer the module for sale. I am not a dev. What is a sell price? 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