[Skip to main content](#vessel-content)

#   3.0.0 dashboard question

##

- **[almika](/forum/user/15732-almika "View almika's Profile")**
- [![almika's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar15732.png)](/forum/user/15732-almika "View almika's Profile") Topic Author
- [ Offline](/forum/user/15732-almika)

Less More

- Posts: 382
- Thank you received: 77
-
-
-
-

9 years 8 months ago [\#263720](#263720) by [almika](/forum/user/15732-almika "View almika's Profile")  *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263720 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")* was created by *[almika](/forum/user/15732-almika "View almika's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5

Hi,

I have read this thread [ ](https://www.hikashop.com/forum/reports-statistics/889000-how-to-setting-hikashop-dashboard.html)[ www.hikashop.com/forum/reports-statistic...ashop-dashboard.html](https://www.hikashop.com/forum/reports-statistics/889000-how-to-setting-hikashop-dashboard.html) attentively.

The new dashboard uses numbers and dates of invoices.
I don't use invoices, there are only data of orders .
In the legacy mode the dashboard is well displayed.
I'm trying to switch the site to the new system. And I want to use the new dashboard.

Jerome wrote:
Code:

Nicolas added the setting "stats_valid_order_statuses" in the columns available in the backend order status listing. So you should now be able to select which order statuses are use for the stats. If you put the "created" status in that list, the system will base his search on "order_created" instead of "order_invoice_created".

But, there is no the setting "stats_valid_order_statuses" in the backend order status listing. I have the newest version 3.0.0.

Will there be this option in the near future? Or the new dashboard will always use only invoices?

Best regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 8 months ago [\#263727](#263727) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263727 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi,

As jerome stated, we've added that "statistic" column in the order statuses listing. But it's been added only 1 week ago, based on the feedbacks we got.
So if you downloaded the install package of the 3.0.0 before that, it's normal you don't see it. You can either wait the next version to get the column, or download again the install package on our website and install it again on your website to get it.
Note that this column will only appear with the "dashboard legacy" setting turned off (since otherwise you see the widget dashboard where that setting is irrelevant).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[almika](/forum/user/15732-almika "View almika's Profile")**
- [![almika's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar15732.png)](/forum/user/15732-almika "View almika's Profile") Topic Author
- [ Offline](/forum/user/15732-almika)

Less More

- Posts: 382
- Thank you received: 77
-
-
-
-

9 years 8 months ago [\#263810](#263810) by [almika](/forum/user/15732-almika "View almika's Profile")  Replied by *[almika](/forum/user/15732-almika "View almika's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263810 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi,

My version was downloaded this morning - com_hikashop_business_v3.0.0_2017-03-01_01-15-43.tar.gz

- [ ![hika-20170301-01.png](/forum/attachment/36711) ](/forum/attachment/36711 "...0170301-01.png") [ ](/forum/attachment/36711?download=1 "...0170301-01.png")
- [ ![hika-20170301-02.png](/forum/attachment/36712) ](/forum/attachment/36712 "...0170301-02.png") [ ](/forum/attachment/36712?download=1 "...0170301-02.png")
- [ ![hika-20170301-03.png](/forum/attachment/36713) ](/forum/attachment/36713 "...0170301-03.png") [ ](/forum/attachment/36713?download=1 "...0170301-03.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#263812](#263812) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263812 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi,

You do not have any status for "invoices".
Which mean that your orders do not have an "invoice number" when they are confirmed
See : [ www.hikashop.com/forum/reports-statistic...ashboard.html#263471](https://www.hikashop.com/forum/reports-statistics/889000-how-to-setting-hikashop-dashboard.html#263471)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[almika](/forum/user/15732-almika "View almika's Profile")**
- [![almika's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar15732.png)](/forum/user/15732-almika "View almika's Profile") Topic Author
- [ Offline](/forum/user/15732-almika)

Less More

- Posts: 382
- Thank you received: 77
-
-
-
-

9 years 8 months ago [\#263866](#263866) by [almika](/forum/user/15732-almika "View almika's Profile")  Replied by *[almika](/forum/user/15732-almika "View almika's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263866 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi, Jerome!

> Jerome wrote: You do not have any status for "invoices".

That is the content of my question.
I understand clearly that if I turn on statuses for invoices that will be created number and date of invoices and then the stats will work.

But I don't use invoices. All I have is the orders. This is quite enough for our domestic sales.

By the way, I think there is a bug in \administrator\components\com_hikashop\classes\statistics.php
It's the reason of the wrong stats for current orders. Code:

case 'this.week': $ret['start'] = mktime(0, 0, 0, $now[0], $now[1], $now[2]) - (date('N')-1)*24*3600 + $this-&gt;timeoffset; $ret['end'] = mktime(23, 59, 59, $now[0], $now[1], $now[2]) + $this-&gt;timeoffset; break; case 'this.day': $ret['start'] = mktime(0, 0, 0, $now[0], $now[1], $now[2]) - (date('N')-1)*24*3600 + $this-&gt;timeoffset; $ret['end'] = mktime(23, 59, 59, $now[0], $now[1], $now[2]) + $this-&gt;timeoffset; break;

The code for 'this.day' is equal the code for 'this.week'.
I think for 'this.day' need like it: Code:

case 'this.day': $ret['start'] = mktime(0, 0, 0, $now[0], $now[1], $now[2]) + $this-&gt;timeoffset; $ret['end'] = mktime(23, 59, 59, $now[0], $now[1], $now[2]) + $this-&gt;timeoffset; break;

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#263885](#263885) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263885 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi,

Still in the thread : [ www.hikashop.com/forum/reports-statistic...ashboard.html#263471](https://www.hikashop.com/forum/reports-statistics/889000-how-to-setting-hikashop-dashboard.html#263471)

> Nicolas added the setting "stats\_valid\_order\_statuses" in the columns available in the backend order status listing.
> So you should now be able to select which order statuses are use for the stats.
> **If you put the "created" status in that list, the system will base his search on "order\_created" instead of "order\_invoice\_created"**.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[almika](/forum/user/15732-almika "View almika's Profile")**
- [![almika's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar15732.png)](/forum/user/15732-almika "View almika's Profile") Topic Author
- [ Offline](/forum/user/15732-almika)

Less More

- Posts: 382
- Thank you received: 77
-
-
-
-

9 years 8 months ago [\#263984](#263984) by [almika](/forum/user/15732-almika "View almika's Profile")  Replied by *[almika](/forum/user/15732-almika "View almika's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#263984 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Thank you, Jerome and Nicolas.
The fresh version has resolved my problem with the dashboard.

But you didn't pay attention on my previous message about a bug in \administrator\components\com_hikashop\classes\statistics.php.

The statistics of "this day" isn't correct yet. Sorry, if I am not right.

Best regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#264022](#264022) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[3.0.0 dashboard question](/forum/36-reports-statistics/889111-3-0-0-dashboard-question#264022 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Hi,  I have read this thread attentively.  The new dashboard uses numbers and dates of invoices. I don't use invoices, there are only data of orders . In the legacy mode the dashboard is well displayed. I'm trying to switch the site to the new system. And I want to use the new dashboard.  Jerome wrote:  But, there is no the setting &quot;stats&#95;valid&#95;order&#95;statuses&quot; in the backend order status listing. I have the newest version 3.0.0.  Will there be this option in the near future? Or the new dashboard will always use only invoices?  Best regards,")*

Hi,

Oh yes, that's right. The "this.day" have the same content than "this.week".
I'll push the patch.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [almika](/forum/user/15732-almika "View almika's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODkxMTEtMy0wLTAtZGFzaGJvYXJkLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
