Tuesday, January 20, 2009

Virtuemart hack - Auto Expand all Virtuemart Categories

This method works for display type: LINK LIST

edit 

administrator/components/com_virtuemart/classes/ps_product_category.php

disable code in line 686 and line 810

$allowed = false;

to

//$allowed = false;

For Dtree:

In components/com_virtuemart/js/vm_dtree.php change line 38 from

$openAll = 'false';

to

$openAll = 'true';