Hook Mini Cart – AJAX Request
-
Hello,
I am adding a Shortcode to the woocommerce minicart via the hook (woocommerce_before_mini_cart) and I am getting some errors:
- When adding a product, it stays in a loading loop.
- When deleting a product, it remains in a loading loop.
- When changing currency, it stays in a loading loop.
Sample video link:
https://app.screencast.com/3koVBSnrs7Lcs
This I see is because the mini cart is redrawn with AJAX and the JS scripts needed for the shortcode are not initialized.
Is there any way I can correct this problem?
- That the widget shortcode can be excluded from the AJAX request.
- Is there a Mini Cart Hook that is not affected by this AJAX request?
I hope you can help me.
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Hook Mini Cart – AJAX Request’ is closed to new replies.