• I’m testing the shortcode <?php echo do_shortcode('[cookies_revoke title="text"]'); ?> in the Woocommerce checkout page where Paypal payment button is displayed but it doesn’t work (or better: it works as long as the a link is shown but clicking on it does not make the banner appear as expected. It doesn’t have any effect apart from scrolling upwards because of href=”#”). It works well in the cart page and wherever else but not inside the checkout payment form. Is anybody encountering the same problem?

Viewing 1 replies (of 1 total)
  • Thread Starter christian70

    (@christian70)

    Ok I fixed it by using $(document).ajaxComplete(function() { otherwise the jQuery function doesn’t work inside the checkout payment form.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode not working’ is closed to new replies.