WooCommerce Cart Deletion Quick Fix
Budget: $30 – $250 USD
I’ve just upgraded the site to WooCommerce 10.4.3 and the new strict session nonce checks broke the cart page in my Imarket theme. The first click on the “Remove” icon still works, but because the theme’s custom AJAX call only refreshes the header fragments and not the cart table itself, a second deletion throws a nonce error until the customer refreshes the page.
All I need is a minimal, surgical fix that restores normal, consecutive item deletion on /cart/:
• Investigate the current JavaScript / PHP handling the wc_cart_remove_item request inside the Imarket theme.
• Bring the process back in line with WooCommerce 10.4.3 nonce requirements or hook into Woo’s native fragment-refresh so the cart table, totals and header fragments all stay in sync.
• Deliver a small code snippet (child-theme functions.php or a lightweight plugin) and point to any edited template or JS file so I can keep track during future updates.
Acceptance criteria: delete several items in a row without reloading the page, see the cart table, totals and mini-cart update instantly, and have no console or server errors. If you can get that working quickly without overhauling the theme, we’re done.
All I need is a minimal, surgical fix that restores normal, consecutive item deletion on /cart/:
• Investigate the current JavaScript / PHP handling the wc_cart_remove_item request inside the Imarket theme.
• Bring the process back in line with WooCommerce 10.4.3 nonce requirements or hook into Woo’s native fragment-refresh so the cart table, totals and header fragments all stay in sync.
• Deliver a small code snippet (child-theme functions.php or a lightweight plugin) and point to any edited template or JS file so I can keep track during future updates.
Acceptance criteria: delete several items in a row without reloading the page, see the cart table, totals and mini-cart update instantly, and have no console or server errors. If you can get that working quickly without overhauling the theme, we’re done.
Related categories:
PHP
JavaScript
AJAX
WordPress
WooCommerce
Web Development
Backend Development
Frontend Development