***Update 27-04-2010: I attached the latest version of the module to this post, which adds a number of useful features, improved SEF url functionality, and includes one bug fix. I may not remember to do this in future releases, so please download the module from either the extensions directory (link below) or on the
Joomla Extensions Directory***Update 08-09-2009: I submitted the module to the VM extensions directory. You can view and download it here:
VirtueMart Full Category List Module***Update 31-08-2009: I attached a new copy of the module that only displays categories that are published (and removed the old copy).
I had the same problem, and after much googling finally found this promising option:
Pure CSS Virtuemart category module, which was just what I was looking for. To quote:
This simple and easy to use Joomla module... displays the category and sub-categories under a ul list structure
The problem is it's only for J! 1.0, so I took the liberty of updating it for J!1.5, and realized I should also add support for another level of sub-categories, fix some tag closing, optimize the code a bit, and add in css class suffix parameters to make it maximally customizable and style-able.
I've attached the package. Just install it as normal in the Joomla installer, then create a new module of type "VM Full Category List", assign it to a module position in your template, enable it, and you should be good to go!
One word of warning: this will only display categories, subcategories, and sub-subcategories (ie, three levels of categories) but it doesn't go any deeper than that. If you need it to, I could fairly easily expand it to do so, so just post a reply saying how many levels of categories you need to display, and I can try to make that possible (or you can pretty easily do it yourself, if you know anything about php).
Good luck, and I hope this helps
[attachment cleanup by admin]