Skip to main content

FluentCart Bug Report

Summary:
Removing an item from the cart drawer does not persist. The item reappears after a full page reload (hard navigation, not just a soft refresh).

Steps to reproduce:

  1. Add two physical, simple-type products to the cart (tested with two different products, different price points).
  2. Open the cart drawer.
  3. Click the "Remove item" (trash) button on one of the items. The item visually disappears from the drawer immediately.
  4. Navigate to a different page or reload the current page (full page load, not an SPA route change).
  5. Open the cart drawer again.

Expected result:
The removed item stays removed. Cart total reflects only the remaining item(s).

Actual result:
The removed item is back in the cart, as if the removal never happened. Cart total reverts to include it again.

Additional notes:

  • Reproduced consistently, multiple times in a row.
  • Reproduced with the site's page-cache plugin both active and fully deactivated β€” ruled out caching as the cause.
  • No error shown in the browser console during the removal action.
  • Checked in browser dev tools: no "fct_cart_hash" cookie is present, and no cart-related entry was found in the browser's localStorage after removal β€” unclear where/how the cart state is being persisted or where the stale item is being restored from on reload.
  • The "Add to cart" action itself works and updates the drawer/header total correctly. Only "Remove item" fails to persist.
  • Tested while logged in as an administrator (WordPress admin bar visible, FluentCart running in payment Test Mode). Not yet confirmed whether the same happens for a logged-out/guest visitor.

Environment:

  • FluentCart: 1.5.2
  • FluentCart Pro: 1.5.2
  • WordPress: 7.0
  • PHP: 8.2.31
  • Theme: Blocksy (active)
  • Other plugins active on the shop-relevant path: Elementor 4.1.4, Elementor Pro 4.1.2, FluentCart Elementor Blocks 1.0.1, LiteSpeed Cache 7.8.1 (also tested with this deactivated, same result)