Zen Cart Logo

Bestsellers

Locked

Views: 1,366

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Jan 2007, 12:03 AM
#1
siren_sub avatar

siren_sub

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Bestsellers

I have an online bookstore. Is it possible to have the Bestsellers list calculate only the total number of sales for the past 7 or 10 days?

The default list EVERYTHING sold from day one, which can be misleading because older books released a year ago will always have more total sales than the newer items.

Thank you for your help.

Diana

8 Jan 2007, 3:20 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Bestsellers

You would need to write your own sidebox to utilize the orders and orders_products tables and compute the best sellers over your time period vs the cummlative counter in the products table ...

Otherwise, you might consider ... do you use the products_ordered field for anything else?

If not, reset the value to zero everyweek ... or whenever you want to update the counter ...