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

Bug with getting store #508

Open
KeithViking opened this issue May 20, 2024 · 0 comments
Open

Bug with getting store #508

KeithViking opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KeithViking
Copy link

KeithViking commented May 20, 2024

Created a new Umbraco 13 CMS.
Installed commerce.
Watched video on Umbraco Commerce for setup.

My structure=

Home
-Items : Store is listed here
--Item
-checkout
-About
-Contact
-Gift Items

Using the code from the video when I get to a page requesting GetCurrentOrder(storeId) the store is null. This occurs on the Gift Items node. I felt the gift items page would go up to the Items page to get the store value.

I am using Fallback.ToAncestors with alias store.

If this layout is not sufficient for multiple stores, could you advise what kind of layout would work with multiple stores?

According to the documentation and video I can have multiple stores at different nodes which go up the tree to find the alias store, so I can't confirm if I've missed a step or if this is a bug?

@KeithViking KeithViking added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant