If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / Interesting issue in Sales Report with Graphcs (built in to 1.5.6)

Interesting issue in Sales Report with Graphcs (built in to 1.5.6)

Started by swguy on 23 Jan 2020, 2:23 AM · Views: 3,859

Results 1 to 1 of 1
23 Jan 2020, 2:23 AM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #1 by swguy

If you don't use the Subtotal order module (which you're not required to do), this report won't work.

To fix it, just edit admin/includes/classes/stats_sales_report_graph.php and change 'ot_subtotal' to 'ot_total'. It won't be perfect because now you'll be including taxes and various other things you might not want, but at least it gives you something.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.