I've been trying out drupal and ubercart as a potential replacement for a Zen Cart store, and one of the features that I know my customers really like is the recently viewed products block.
I've been looking around the forums looking for something, and I feel like all of the pieces should be there, but I'm not really sure how to put them together.
I found a piece of code in the drupal forums (http://drupal.org/node/65679) that can be used to list recently viewed pages, but that doesn't seem to translate special characters (like 's or &s). I can read through php, but I'm definitely not a programmer. Ideally, I'd like to be able to list the product name and/or image and/or price in the block, and this code only lists a link to all recently visited pages (not just catalog products).
I also thought that there might be a cool solution for this by using a combination of worflow-ng, views, and content blocks, but I'm not sure how to put it all together.
If anyone has done this or could give me some pointers in the right direction, I'd really appreciate it. Generally I really like the flexibility of Ubercart, but there are a few things that I need to make sure I can do before I commit to rebuilding my store...
Thanks,
Jeremy
http://naturesimple.com

This might make for an interesting contributed module for whoever turns it out. That snippet is lacking at the very least a check_plain() around the title of the link... it's potentially vulnerable to an XSS attack as is. It also depends on the statistics module...
Will it actually provide a benefit?

