Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

BobT
New Member

USA
82 Posts

Pre-sales questions only
(More Details...)

Posted - 01/27/2021 :  05:53:14  
Any way to list top customers for a period other than the 30 day period in the Dashboard. Specifically, we would like to offer our top 100 customers for 2020 a special discount.
Thanks in advance (i hope :)

Bob

midvalleydrifter001
Ecommerce Template Expert

USA
933 Posts

Posted - 01/27/2021 :  13:08:14  
Hi Bob,

In your vsadmin/inc/incadmin.php file search for this:

foreach($totalsarray as $key=>$val){
print '<tr><td style="width:10%"><strong>'.$count++.'</strong></td><td style="text-align:left;">'.$key.'</td><td style="text-align:right;">'.FormatEuroCurrency($val).'</td></tr>';
if($count>10) break;
}

... and change it to this:

foreach($totalsarray as $key=>$val){
print '<tr><td style="width:10%"><strong>'.$count++.'</strong></td><td style="text-align:left;">'.$key.'</td><td style="text-align:right;">'.FormatEuroCurrency($val).'</td></tr>';
if($count>100) break;
}

Then click on your top sellers and select 365 days.

This will only give you the top 100 customers in the last 365 days, not 2020, but it will get you close.

Keep in mind that this file will be overwritten on updates.

Patrick




Edited by - midvalleydrifter001 on 01/27/2021 14:38:49

BobT
New Member

USA
82 Posts

Pre-sales questions only
(More Details...)

Posted - 01/28/2021 :  03:06:49  
Perfect! Many thanks Sir!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000