Zen Cart custom software development, Zen Cart modules, Zen Cart Expert eCommerce with Zen Cart!

Zen Cart Stats Per Customer

Zen Cart Stats Per Customer

The Stats Per Customer plugin shows you the purchase history for a specific customer broken down by year.

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Relevance: Zen Cart™ 1.5.x

Current Version: 1.0 (version history)

Support Thread: Stats Per Customer Support Thread

Cost: The Stats Per Customer plugin is Free, but donation appreciated.

Installed Cost: $100 Buy Professional Installation by That Software Guy

Installation Instructions: click here for installation instructions

Installation Difficulty: Moderate

Location: Zen Cart Plugins, under Admin Tools

Download: Stats Per Customer from Zen Cart Plugins


Overview:

This plugin extends the Zen Cart feature that allows you to look at a customer's entire order history by summarizing their purchases on a year-by-year basis.

Here's how it looks:

Interface to Stats Per Customer on Zen Cart Customers page

The page Admin > Customers > Customers has a new button, "Orders by Year."

Zen Cart Stats Per Customer button

When you press the button, you'll see a screen like this:

Stats Per Customer in Zen Cart Admin

Zen Cart Stats Per Customer



Installation Instructions:

  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Unzip the file you have received, and copy the unzipped files to your cart folder.
  3. In admin/customers.php, right above the sidebar notifier for NOTIFY_ADMIN_CUSTOMERS_MENU_BUTTONS, which is below NOTIFY_ADMIN_CUSTOMERS_PLACE_ORDER_BUTTON: (l. 1429 in 1.5.7c) add:

        // BOF per customer stats 
        $stats_link = '<a href="' . zen_href_link(FILENAME_STATS_PER_CUSTOMER, 'cid=' . $cInfo->customers_id) . '">'; 
        $contents[] = array(
           'align' => 'text-center',
           'text' => $stats_link . '<input class="btn btn-primary" type="submit" value="' . STATS_PER_CUSTOMER . '" title="' . STATS_PER_CUSTOMER_ALT . '">' . '</a>'
        );
        // EOF per customer stats 
    

Major Versions

  • 1.0 01/09/2021 - First Release