Jump to content

Sales and orders Stats no longer working since P.S. 1.5.6


Recommended Posts

Hi,

 

My Sales and orders stats are no longer adding my new sales in stats in the backoffice and also not on the "Statistics / This week's sales" window since I upgraded PrestaShop from 1.5.3 to 1.5.6.

 

I don’t want my customers to access the online invoices because I always sent out official invoices created by accounting software with the shipment. For this reason, I opt to disable invoices under Orders/Invoices of my backoffice.

 

I am not sure why the sales stats stop working with P.S. version 1.5.6 as I did not change anything in my settings with the upgrade.

 

My guess is that PrestaShop uses the field “invoice_date” from the database table “pr_orders” to generate the report for Sales Stats. The “invoice_date” field has 0000-00-00 00:00:00 in it since the upgrade. Why?

 

Anyway, would there be a way to modify the statssales module so it would be the field “date_add” instead of “invoice_date” that would be use to generate the Sales Stats?

 

Please advice what to change and in what files…

 

 

Cheers

 

Dan

 

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...