View Full Version : Pull Down Dates For Search V1

04-30-2011, 08:01 AM
This mod will only allow for "from" year dates as a number of years prior to present. I'm not good enough at programming to make a permanent fix that sets the "from date" to the actual store creation date. The way it's currently hardcoded will only show (x) years prior to the present year, so as your store ages, the list of years in the drop-down will also advance, slowly excluding years of product. Perhaps somebody else can patch this bug? In the meantime, you can change the instructions for code in catalog/includes/functions/html_output.php as follows, to give your full store history a chance to be searched:

In the instructions, at line 50, find:

// years
for($i=date('Y')-1; $i