$( "#cart > .heading a" ).on({
click: function() {
url = $('base').attr('href') + 'index.php?route=checkout/cart';
location = url;
},
mouseover: function() {
$('#cart')
.addClass('active')
.load('index.php?route=module/cart #cart > *');
},
mouseleave: function(){
$('#cart').removeClass('active');
}
});