EE 1
EE 2
Tally

Developer

Derek Hogue - Amphibian Design

3rd Party (Free)

46 downloads (last 90 days)

GNU General Public License v3 Download v1.0.2

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

Tally is a simple plugin which allows you to calculate totals or averages for numeric values in an entries loop. A common use for this would be calculating order totals for the month from your e-commerce orders channel, or adding other financial data spreadsheet-style.

Tally lets you keep an ongoing total of values to sum or average in multiple collections of values while you’re iterating through an EE entries loop (be it channel:entries or a third-party module loop). Display the result of each collection of values anywhere in your template by embedding a small template containing the tally:total tag.

Please read the plugin docs for details.

Here’s an example of using Tally to display a total of orders placed on your e-commerce EE site:

{exp:channel:entries channel="orders" year="2010" month="12"}
    {exp:tally:add collection="orders" value="{order_subtotal}" count="{count}"}
    {exp:tally:add collection="shipping" value="{order_shipping}" count="{count}"}
{/exp:channel:entries}

{embed="reports/_total"}

The contents of the reports/_total template would be:

Subtotal for month: ${exp:tally:total collection="orders" decimals="2"}
Shipping for month: ${exp:tally:total collection="shipping" decimals="2"}

Download Tally

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0.2 2012-03-15 02:12 PM
1.x Download 1.0.2 2012-03-15 02:12 PM

This entry was created May 4, 2011, 2:25 pm.
This entry was last updated March 15, 2012, 9:12 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

3 Reviews:

Ldes 01.17.13

Rating - {addon_rating_average}

Just save my brain! Thank you :)

EpicVoyage 05.24.12

EpicVoyage
Rating - {addon_rating_average}

This is exactly what I was looking for. Works great. Thanks, Derek!

mel 04.04.12

Rating - {addon_rating_average}

so simple to setup and use.  Love it. thanks so much.