jQuery(function($) { $(document.body).on('added_to_cart', function() { window.location.href = 'https://wygodnymarkecik.pl/koszyk/'; }); });