Prestashop: The prestashop order statistics sectionhas lot of issues, it shouldn't be in production

Created on 25 Mar 2020  ·  5Comments  ·  Source: PrestaShop/PrestaShop

There are some prestashop bugs that have no reason to exist, they shouldn't exist in a version other than an alpha or beta release. Instead they are in production after dozens of major releases. This is absurd.

The order statistics section is absolutely a piece of unripe code that should not be included in prestashop if the developers are unable to make it work!

1) Why does the order statistics depend on a "allow customers to download the invoice" flag of the order status? What is the meaning of this choice ?! Why should an order be counted only if "I allow the customer to download his invoice"?!?! What if I don't make the invoice? What if I don't want the customer to have an invoice? My dashbord shows 0 orders if I do not activate the download of the invoice by the customer?!?! (MADNESS).
2) The order registration date that is record in the statistics is the first status update date which has the "download invoice pdf of orders" flag. This is another madness. If I invoiced by hypothesis at the end of the month and set the orders as delivered at the end of the month, the statistics would be absolutely useless showing 100% order placed the last day of the month. Furthermore, if I wanted to try to solve the bug (see point 1) by manually setting a status with "download invoice pdf" and updating the orders of the last months on this status, so that you can see them in the statistics, they would ALL have the date of the status change last!

This is unfortunately the umpteenth example of how superficial and approximate programming makes functions absolutely basic UNUSABLE.

image

image

Duplicate

Most helpful comment

Hi @matteolavaggi please be careful, you might did not want to, but the tone of your message sounds very aggressive. I guess it comes from the frustration, and we understand this frustration, but using harsh words will not make things go forward.

The statistics modules of PrestaShop were release a lot of time ago. We now know, from multiple user feedbacks, that they are not robust as they only provide accurate statistics for limited and very standard usages. Once you start doing more advanced usage of your shop, the stats are false (for example if I remember correctly if you cancel one order it does not get acknowledged by the stats, or something like that).

However there are multiple other issues that have been explored by the Product team and considered more urgent to fix that this.
Which is why these issues have never been fixed so far. They are not important enough, there are some topics that are more import to fix now.

When we fix all the "more important topics" we will be able to use our energy and time to fix the statistics modules bugs. Until then, nothing will happen from core team. It's simple: we have to fix issues starting from most critical, and step by step we go from critical bugs to major bugs to minor bugs. We just follow the queue.
However, as eternoendless likes to say, PrestaShop is an open source, community project. If you find that this issue is critical for you, and it's important to have it fixed ASAP, then you can _invest_ into having it done. You can hire a developer to fix it, or if you are a developer yourself, you can try doing it on your own. The most important thing is to share that fix with everyone by submitting a Pull Request -- that's what the open source spirit is all about.

About your suggestion about removing these modules from PrestaShop: why ? These are modules. They are intended to be installed / used by you if you want them or uninstall / unused by you if you don't want them. This is the very reason why they are modules: you can enable or disable them. Why remove them ? Let them to be used by the people who find this usage relevant and dont use them else.

All 5 comments

Hi @matteolavaggi,

Thanks for your report.
Yes, you are right, the data is based on invoice if there is no invoice there are no stats.
We are awre of this issue, it is added to our debug roadmap.
Here's a PR: https://github.com/PrestaShop/PrestaShop/pull/14215
Your ticket is a duplicate of #15319
So, I close it.
Thanks!

Duplicate of #15319

This is not exact. Invoice can be disabled, but the flag in order state
must be enabled.

Why insert a function that not work in a stable release? this is not a
"bug" is a piece of coding miss. or an alpha function released in a stable
channel ...

Il giorno mer 25 mar 2020 alle ore 10:29 khouloudbelguith <
[email protected]> ha scritto:

Duplicate of #15319
https://github.com/PrestaShop/PrestaShop/issues/15319


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/PrestaShop/issues/18297#issuecomment-603736137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5GL35JJSBH4CVNSDDE4FLRJHFHDANCNFSM4LTI4ZIA
.

--
cordialmente,
FATTURAZIONE ELETTRONICA B2B
Il nostro codice destinatario (alcuni lo chiamano “codice SDI”) è il
seguente: M5UXCR1

Matteo Lavaggi
CEO

ufficio +390245071999

[image: PrestaShop]
www.pineappleitaly.com/pineapplegroup

PINEAPPLE® S.r.l.
Capitale sociale €100.000 i.v.
SL: Galleria C.so Garibaldi 16-18, 16043 Chiavari (GE) Italy
P.I./C.F.(VAT REG): IT01953500996 REA 447687 CCIAA di GENOVA

Full contacts: www.pineappleitaly.com/contatti

The information contained in this message is intended only for use of the
individual(s) named above and may contain confidential, proprietary or
legally privileged information. No confidentiality or privilege is waived
or lost by any mistransmission. If you are not the intended recipient of
this message you are hereby notified that you must not use, disseminate,
copy it in any form or take any action in reliance of it. If you have
received this message in error please delete it and any copies of it and
notify the sender immediately.

Hi @matteolavaggi please be careful, you might did not want to, but the tone of your message sounds very aggressive. I guess it comes from the frustration, and we understand this frustration, but using harsh words will not make things go forward.

The statistics modules of PrestaShop were release a lot of time ago. We now know, from multiple user feedbacks, that they are not robust as they only provide accurate statistics for limited and very standard usages. Once you start doing more advanced usage of your shop, the stats are false (for example if I remember correctly if you cancel one order it does not get acknowledged by the stats, or something like that).

However there are multiple other issues that have been explored by the Product team and considered more urgent to fix that this.
Which is why these issues have never been fixed so far. They are not important enough, there are some topics that are more import to fix now.

When we fix all the "more important topics" we will be able to use our energy and time to fix the statistics modules bugs. Until then, nothing will happen from core team. It's simple: we have to fix issues starting from most critical, and step by step we go from critical bugs to major bugs to minor bugs. We just follow the queue.
However, as eternoendless likes to say, PrestaShop is an open source, community project. If you find that this issue is critical for you, and it's important to have it fixed ASAP, then you can _invest_ into having it done. You can hire a developer to fix it, or if you are a developer yourself, you can try doing it on your own. The most important thing is to share that fix with everyone by submitting a Pull Request -- that's what the open source spirit is all about.

About your suggestion about removing these modules from PrestaShop: why ? These are modules. They are intended to be installed / used by you if you want them or uninstall / unused by you if you don't want them. This is the very reason why they are modules: you can enable or disable them. Why remove them ? Let them to be used by the people who find this usage relevant and dont use them else.

You read right, my tone is so aggressive you explain better in your answer:
"The statistics modules of PrestaShop were release a lot of time ago"

Like a long time prestashop users I'm feel joked by the way ps team handle
this software. We spent lot of money in the ps universe every years and
still have bug from years and years reported in new release. Lot of
function that complete not work and no one fix. It's so strange , if
something is not done right you can't distribute it only for the reason
that you must write on the specs "we have a statistics module".

Prestashop today must write:

You can't see order amount, total and statistics with our software because
this section are not present I. Prestashop.

Stop joke with users and claim function that not work from years.

Il Mer 25 Mar 2020, 16:55 Mathieu Ferment notifications@github.com ha
scritto:

Hi @matteolavaggi https://github.com/matteolavaggi please be careful,
you might did not want to, but the tone of your message sounds very
aggressive. I guess it comes from the frustration, and we understand this
frustration, but using harsh words will not make things go forward.

The statistics modules of PrestaShop were release a lot of time ago. We
now know, from multiple user feedbacks, that they are not robust as they
only provide accurate statistics for limited and very standard usages. Once
you start doing more advanced usage of your shop, the stats are false (for
example if I remember correctly if you cancel one order it does not get
acknowledged by the stats, or something like that).

However there are multiple other issues
https://github.com/PrestaShop/PrestaShop/issues that have been explored
by the Product team and considered more urgent to fix that this.
Which is why these issues have never been fixed so far. They are not
important enough, there are some topics that are more import to fix now.

When we fix all the "more important topics" we will be able to use our
energy and time to fix the statistics modules bugs. Until then, nothing
will happen from core team. It's simple: we have to fix issues starting
from most critical, and step by step we go from critical bugs to major bugs
to minor bugs. We just follow the queue.
However, as eternoendless likes to say, PrestaShop is an open source,
community project. If you find that this issue is critical for you, and
it's important to have it fixed ASAP, then you can invest into having
it done. You can hire a developer to fix it, or if you are a developer
yourself, you can try doing it on your own. The most important thing is to
share that fix with everyone by submitting a Pull Request -- that's what
the open source spirit is all about.

About your suggestion about removing these modules from PrestaShop: why ?
These are modules. They are intended to be installed / used by you if you
want them or uninstall / unused by you if you don't want them. This is the
very reason why they are modules: you can enable or disable them. Why
remove them ? Let them to be used by the people who find this usage
relevant and dont use them else.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/PrestaShop/issues/18297#issuecomment-603922003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5GL32ZHYHFI5JNKYSYJWLRJISPPANCNFSM4LTI4ZIA
.

Was this page helpful?
0 / 5 - 0 ratings