thelia / customer-statistic-module
Installs: 397
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 2
Open Issues: 1
Type:thelia-module
Requires
- thelia/installer: ~1.1
README
Give you statistics about the articles bought by a customer.
Screenshot
Installation
Manually
- Copy the module into
<thelia_root>/local/modules/
directory and be sure that the name of the module is CustomerStatistic. - Activate it in your thelia administration panel
Composer
Add it in your main thelia composer.json file
composer require thelia/customer-statistic-module:~1.0.3
Usage
Activate the module in the module list. A new row will then appear on customer edit pages, giving you statistics about the articles they bought.
Hook
The customer.edit hook is used to attach the statistics to the customer edit page.
Loop
[customer.statistic.article.statistic]
Input arguments
Output arguments
Exemple
{loop name="customer.statistic.article.statistic" type="article.statistic"}<!-- your template -->{/loop}
Additionnal information
A product "Total" with a $PRODUCT_ID of -1 will be added in the loop, with the total turneover for the customer.