frontends
frontends copied to clipboard
[BUG] DeepLink for Guests and Link Issue
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
When you order in the default Storefront as a Guest, you will receive an email with a codeDeepLink that lets you view all the details about your order.
Issues Composable Frontends have with that:
- The default link from the email template is not working or opening the orders in our demo store (there is a # missing in the URL)
- The link in total is not working for guests because you can not load an order without a context token
Expected Behavior
- Our demo store opens the correct order without the need to change the link via admin
- Also, guests can view their order details when they use the link from email that is containing the
codeDeepLink(order can be loaded via admin API but not via store API)
Steps To Reproduce
No response
Environment
No response
Anything else?
No response
Current behaviour when there is a new session:
Guest order:
We are asked to provide order data
User order:
We are asked to log in
Current problems:
- We are not able to fetch any order - 403 error
- We are not able to detect if the order is user or guest order
- We don't have an API endpoint for the pre Order guest fetching input
Is that related to #1472?
see https://github.com/shopware/shopware/issues/11140 Should be possible now to get the right context using the deep link :)