Cartweaver Admin Hints and Mods Part 4: Creating an Order Report Graph for PHP
By: Tom Muck on Monday, July 13, 2009
Reader Level: 
Cartweaver is an online shopping cart system available from www.cartweaver.com for PHP, ColdFusion, and ASP. It is intended as an easy-to-use solution for building an online store. It doesn't have all the bells and whistles of some of the more pricey carts available, but with a little coding, many new features can be added.
Part 3 showed how to create a simple order graphical report to the Cartweaver admin for ColdFusion. This part will show the same functionality for the PHP version of Cartweaver.
Note that ColdFusion has built-in graphing capabilities, whereas PHP requires the use of a third-party library. This article uses the JpGraph library for PHP, described in this article by Steven Seiller: JpGraph: PHP Graphs & Charts On-The-Fly. Steven's article explains the graphing process. This article will focus on building the report query. The library is readily available and easily installed locally. It requires the GD Image library to be installed into your PHP installation, compiled on a Linux host or included in your extensions directory in Windows. See Steven's article for more information.
The Cartweaver Admin Hints and Mods Series:
Cartweaver Admin Hints and Mods - Part 1: Creating a Low Stock Warning for PHP
Cartweaver Admin Hints and Mods - Part 2: Creating a Low Stock Warning for ColdFusion
Cartweaver Admin Hints and Mods - Part 3: Creating an Order Report Graph for ColdFusion
Cartweaver Admin Hints and Mods - Part 4: Creating an Order Report Graph for PHP
Cartweaver Admin Hints and Mods - Part 5: Adding Customer Search Parameters for ColdFusion
Cartweaver Admin Hints and Mods - Part 6 Adding Customer Search Parameters for PHP
Cartweaver Admin Hints and Mods - Part 7: Creating and Order Report for Products Using PHP
Cartweaver Admin Hints and Mods - Part 8: Creating an Order Report for Products Using ColdFusion
Cartweaver Admin Hints and Mods - Part 9: Creating a Taxes Collected Report Using PHP
Cartweaver Admin Hints and Mods - Part 10: Creating a Taxes Collected Report Using ColdFusion
Purchase this item
You can purchase this piece of content separately for
$4.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.



