Seems to be this thread is dead. But nevertheless a quick and dirty solution for the problem, if the cart is empty, empty display
default.php changes, add replace from line 13 to 25 with the following code
window.addEvent('domready',function() {
var texter = $('total').innerHTML;
texter = texter.replace(/\s/g, "");
if (texter != "istnochleer.") {
document.id('vmCartModule').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('vmCartModule').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('product_list').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('product_list').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
};
This works for the German text at MOD_VM2_CART_CART_EMPTY="ist noch leer." For english text at MOD_VM2_CART_CART_EMPTY="Cart is empty." adjust the code in line 4 if (texter != "istnochleer.") to if (texter != "Cartisempty."). Spaces have to be removed! Like I said quick and dirty but works fine ;-)