This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Mini-Cart block shows wrong total if theres multiple installs on the same domain #11168
Labels
block: mini-cart
Issues related to the Mini-Cart block.
type: bug
The issue/PR concerns a confirmed bug.
type: community contribution
Describe the bug
If you have multiple WooCommerce sites on the same domain, the mini-cart block will often show the wrong cart total in case you started a cart on another site.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Obviously it should display the correct cart total in this case.
Additional context
I'm guessing this happens because some of the mini-cart data is stored in local storage and that is tied to the domain only, not the path. To give you a real-world use case, some multilingual stores might be setup on /en and /de paths as separate WP/WC installs.
The text was updated successfully, but these errors were encountered: