<script> $('button#cart').on('click', function() { setTimeout(function(){document.location.href = "index.php?route=checkout/cart ";},250);});</script>