Display header cart content on mouse over - opencart 1.5x

Posted by Flo on 18 Feb 2012

Currently the opencart header cart content displays when you click on items. If you want it to display when you move your mouse over it here is how do it:

Edit the file catalog/view/javascript/common.js and find the line:

$('#cart > .heading a').bind('click', function() {

and you replace it with:

$('#cart > .heading').bind('mouseover', function() {

That is all.