--- menutrails.module	2010-03-16 23:18:49.000000000 +0200
+++ ../../menutrails/menutrails.module	2010-05-07 13:00:15.000000000 +0300
@@ -27,7 +27,7 @@
  * Implementation of hook_init().
  *
  * Detect menutrails for non-node-view pages.
- * Currently supports og sub-pages only.
+ * Currently supports og sub-pages and Ubercart catalog
  *
  * @todo Replace TRUE with settings check.
  */
@@ -48,6 +48,15 @@
       }
     }
   }
+  if (module_exists('uc_catalog')) {
+    $item = menu_get_item();
+    if ($item['page_callback'] != 'node_page_view') {
+      if($item['href']=="catalog" && $item['page_arguments'][1]) {
+        $item['href']=$item['href']."/".$item['page_arguments'][1];
+      }
+      menu_set_item(NULL, $item);
+    }	
+  }
 }
 
 /**
