Quote:
Originally Posted by mltriebe
Finally got it to work for the most part. I had to remove the /% from this:
$category_data[categoryid_path]/%' AND avail = 'Y'
Now how do I change it to 60 days? I changed this to 60 but it didn't work (86400 * 30)?
Mike
|
86400 is the number of seconds in a day (60x60x24). So leave the 86400* and just change the 30 to whatever number of days you prefer; the result will be the number of seconds in that many days. If you simply replaced (86400 * 30) with 60, you would be basing your bestsellers on orders from the last minute only.