Most popular products for sliding date range

Project:Ubercart Views
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
uc_views

I'd like to configure a view that displays the most popular products by order_sum_qty, based on a sliding date range (i.e. sum of orders during past 3 months). After playing around with Views2 for a while, it doesn't look like there are any arguments I can pass in which would yield the desired result.

Any help is much appreciated. Thanks!

Version: 
Ubercart 2.0-beta6
madsph's picture
Offline
Joined: 02/25/2009
Juice: 56
Re: Most popular products for sliding date range

I think the short answer is that it can't be done Sad

There is a view that summarize the order qty, but it does not take the date into consideration.
There is a project http://drupal.org/project/views_groupby that could help you a little along the way. They only support count at the moment, so you will only be able to count the number of lines with a given product the the qty ordered. Depending on which kind of products you have in your shop this could be a close enough approximation though.