NO BUG: The browser's back button displays an empty cart

Browser: Chrome 144.0.7559.98
OS: Windows

Hi bricks team,

If we click on one of the products in the cart to open the product page and then go back with the browser’s back button, the cart is rendered empty. While the cart is. After reloading the cart products appear. This problem seems to occur only for the admin user.

Please watch the video below.

1 Like

Hey @HOSEIN,

Sadly, I cannot replicate this issue. I tried with the admin account and on various browsers. I cannot replicate it. I tried opening the cart page, clicking on the item to be redirected to the product page, and then clicking the back button.

But the card is not empty. Is it possible that in your case the cache gets deleted and that’s why you see an empty card? What happens if you refresh the builder at that time? Is the card still empty, or is it just temporarily empty?

Best regards,
Matej

Hi Matej,

Builder? No, it’s not a problem. Because this problem only occurs in the frontend, not the builder. I also tested it on my colleague’s website and the problem occurs. I will investigate the problem further.

Thank you

1 Like

Hi @Matej,

I found out that the cause of this bug was an extension I had installed on my Chrome browser. So there is no problem on Bricks’ side.

Thank you

1 Like

Thank you @HOSEIN for letting us know :victory_hand:

Matej

1 Like