Nic to nie pomogło ale już wiem gdzie jest problem
Trzeba pozmieniać co nie co w plikach.
Open your admin folder then go to the file:
tabs\AdminStats.php
Find: invoice_date
and replace with: delivery_date
Do the same with file:
modules\statshome\statshome.php
for file:
modules\statssales\statssales.php
Find: invoice_date
and replace with: date_add
The problem with statistics begins when you turn off invoices.
Tab “Orders” -> “Invoices” -> “Enable invoices: No”
For best products open the file:
modules\statsbestproducts\statsbestproducts.php
Find: invoice_date
and replace all with: delivery_date
For best customers open the file
modules\statsbestcustomers\statsbestcustomers.php
Find: invoice_date
and replace all with: delivery_date
Przekopiowane z >>>
http://www.prestashop.com/forums/viewthread/20841/general_discussion/sales_and_orders_stats_dont_workI działa jak ta lala