I have added this to my x-cart test installation, and on the customer end it works perfectly... However, there is a problem in the admin panel when trying to add or modify categories. I get the following error message:
Warning: Cannot add header information - headers already sent by (output started at /estore/include/categories.php:160) in /estore/admin/process_category.php on line 56 (or 65)
If I restore the original /xcart/include/categories.php file, then this error goes away, but then the effect no longer works when I am inside a sub-category.
Any help please?