Try changing that line to read
Code:<td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date('Y', strtotime('-1 year'))); ?></td>
Printable View
Here's what worked for me:
Code:<td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date("Y") - 1 ); ?></td>
Thanks, Diva.:blush: Sometimes the simplest solutions are the best!
My pleasure ...
I have a feature request for the next iteration of this great module. If there could be a function to select attributes it would make this sooooo much better. Perhaps an option to show all attribute variations and sales and an ability to select a certain product to see it's attribute sales. I think a lot of people could use and really benefit from this. If it would take a contribution for the amount of time and effort involved please PM me to discuss, I am more than happy to do this.
I'm using 1.3.9f and I'd like to add a total cost column to this report and also a profit column, but I can't figure out where to edit the php... I already added a product cost field to my products, so I have that data. Any guidance would be appreciated. Thanks!