Side cart not updating
-
Hi FunnelKit Support,
We are using FunnelKit Cart on a bespoke WooCommerce theme with custom AJAX add-to-basket functionality.
The issue we are seeing is:
- Products are successfully added to the WooCommerce cart
- The basket page always shows the correct contents
- The FunnelKit mini cart / side cart does not stay updated after AJAX add-to-basket
- The cart count or totals may briefly update correctly, but then the mini cart appears to revert back to stale data before it can even be opened
- Refreshing the page or visiting the basket page immediately corrects the mini cart contents
Important findings:
- WooCommerce itself appears to be working correctly
- Our AJAX response already includes FunnelKit fragments such as:
.fkcart-modal-container.fkcart-mini-togglerfkcart_qtyfkcart_total - We have tested triggering:
added_to_cartwc_fragment_refresh - We have excluded WooCommerce and FunnelKit cookies/URLs from WP Rocket cache
- We have tested with cache exclusions and cache clears
- The issue still occurs even though the correct cart values briefly appear first
This support thread appears to describe a very similar issue:
https://wordpress.org/support/topic/funnelkit-cart-menu-count-and-sidecart-not-updating/Could you please advise:
- Whether this is a known FunnelKit fragment/local storage/cart refresh issue
- Whether there is a recommended method for refreshing FunnelKit Cart after a custom AJAX add-to-cart request
- Whether there is an updated plugin build or patch available related to this issue
Thanks,
Alex
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.