You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I believe there is a logic flaw in the WC_Order Root Query when trying to access an order as a guest. The suspect line is this one.
To my knowledge and according to the docs, the function get_current_user_id() will always return 0 when not logged in, making viewing an order as a guest impossible.
I am new to this plugin, so I may be missing some knowledge. However, since I am taking this theme (WooNuxt) as a starting point and since it is also failing to allow me to see my order as a guest, I believe this might be a bug:
Describe the bug
I believe there is a logic flaw in the WC_Order Root Query when trying to access an order as a guest. The suspect line is this one.
To my knowledge and according to the docs, the function
get_current_user_id()
will always return0
when not logged in, making viewing an order as a guest impossible.I am new to this plugin, so I may be missing some knowledge. However, since I am taking this theme (WooNuxt) as a starting point and since it is also failing to allow me to see my order as a guest, I believe this might be a bug:
To Reproduce
Steps to reproduce the behavior:
Not authorized to access this order
.Expected behavior
I am expecting to be able to see an order as a guest right after I place one.
Desktop (please complete the following information):
Plugin Versions
Let me know if I am missing something 🙂
The text was updated successfully, but these errors were encountered: