Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Carts shared between stores' is not working as expected. #7381

Open
korifeich opened this issue Oct 25, 2024 · 0 comments
Open

'Carts shared between stores' is not working as expected. #7381

korifeich opened this issue Oct 25, 2024 · 0 comments

Comments

@korifeich
Copy link

nopCommerce version: 4.7

Steps to reproduce the problem:

Create configuration with 2 Stores:
First Store - Carts shared between stores - enabled
Second Store - Carts shared between stores - disabled

Add one item to the shopping cart and wishlist for both stores.

Result:
First store - shopping cart items from both stores are visible
Second Store - shopping cart and wishlist items only from this particular store are visible

Expected Result:
First store - shopping cart items from the first store are visible (because the second one has a disabled shared cat)
Second Store - shopping cart and wishlist items only from this particular store are visible

I am not sure if the existing code is working as desired, but it seems to me reasonable that if I want to disable Cart sharing for a particular shop, I want the cart from that shop to be hidden in other shops.

Core Reference: (only for shopping cart, but for wishlist the issue is present as well)
ShoppingCartService.cs

In here items only from Shops with Shared carts need to be filtered out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants