Checkout page not displaying correct cart items if added via another tab


I would like my website to always accurately show the user what they’re paying for. Currently, if the user changes a tab to a previous checkout page, the cart shown will be outdated but the cart they’ll actually pay for is not. So there’s a difference between what is shown to the user and what is processed, I don’t want this to happen and would like the cart to update automatically even in other tabs when the cart is updated. Alternatively, I would like to check the integrity of the cart when the user submits the checkout form.

In Details:
When having a checkout page opened and adding an item to the cart on another opened tab, the first checkout page does not update accordingly. Which means that the user will see an outdated version of the cart if they change tabs. However, when the Stripe Checkout button is pressed on the outdated page, the items displayed in Stripe are the correct-updated ones. Which means that users will see a different cart on the checkout page than on the Stripe checkout, with a different price.

Steps to reproduce:

  1. Add Listing to cart and proceed to the checkout page ‘/checkout’
  2. Keep this checkout page opened
  3. Open another tab and navigate to another listing page
  4. Add the new listing to the cart and proceed to the new checkout page.
  5. Switch tab to come back to the previous checkout page.
  6. The user now sees an outdated cart, but if they proceed to pay, they’ll be billed for the ‘new’ cart instead of the ‘old’ one they’re seeing.

What I would like to happen instead:
1-4. Same steps
5. The user is shown an updated cart with the following temporary message “Cart Updated” and will pay for the new items in the cart.

Could you please help me achieve that? Thank you!

(I’m using Hivepress with Taskhive child theme)


Please note that our system does not use a cart, so it does not work correctly. I recommend disabling the cart in WooCommerce settings or hiding this page; then everything should work correctly.

1 Like

I’m only using is the default ‘/checkout’ page, I don’t use any cart page. Here are my current Woocommerce page settings:

Screenshot from 2023-09-28 13-21-19

The ‘cart’ I’m referring to is the order-details shown on the checkout page, which do not update.
I tried removing all my plugins and code snippet and it still doesn’t update the prices.


Please note that when you click on the buy now button, you will be automatically redirected to the checkout form. If you use cart, this may not work correctly.

I don’t understand what you mean by ‘if you use cart’ , I only use the default hivepress route:

  1. I click on ‘Buy Now’
  2. Land on checkout page
  3. The order details (that I called ‘cart’) are displayed on the checkout page
  4. Open another tab and do the same
  5. Go back to previous tab and order details are out of date


Could you please provide more details on why you left an open tab and opened another one to make a second purchase? Also, what exactly do you mean by out of date in the first tab?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.