Notice position changes on Ajax cart update
-
Hi Team,
Your plugin works amazingly but I am facing Notice position issue when the cart is updated with Ajax.
I am using below hook to add my custom notice before Proceed to Checkout button on cart page.add_filter( ‘woocommerce_proceed_to_checkout’, ‘display_total_weight_notice’ );
When cart page is loaded from previous any page or link, the Notice appears properly above Proceed to checkout button. But when item quantity changed or removed on cart page, at that time cart is updated with AJAX automatically and my Notice moves to Top. It doesn’t stay above Proceed to Checkout button.
How can I achieve my Notice position fixed even if cart is auto updated with AJAX? Please advice. Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘Notice position changes on Ajax cart update’ is closed to new replies.