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

User icon doesn't work #46

Closed
pythlang opened this issue Jan 7, 2022 · 6 comments
Closed

User icon doesn't work #46

pythlang opened this issue Jan 7, 2022 · 6 comments

Comments

@pythlang
Copy link

pythlang commented Jan 7, 2022

I see there was another issue that tried to address this but you closed it #24 .

Yes, when I use the demo online, the icon routes. When I run the project locally, however, it does not function whatsoever.

When I navigate to /#/signin then it remains on the homepage. When I look at the online demo, there are Links which do not exist in this repository in the same way the other functional Links do. I know in your video you say we must create them, but....

Can you please guide me as to how to 1) fix this and 2) how I would go about using the registration/login functionality in a headless server. What and where would I be pointing this to log-in/register?

Thanks so much

Screen Shot 2022-01-06 at 21 20 35
Screen Shot 2022-01-06 at 21 21 12

@notrab
Copy link
Owner

notrab commented Jan 7, 2022

Hey

Do you have NEXT_PUBLIC_SNIPCART_API_KEY defined? This wouldn't work if you have user logins disabled, or no Printful key.

@pythlang
Copy link
Author

Thanks for the quick reply; I saw your message but couldn't get to it due to an emergency.

Indeed, I have the NEXT_PUBLIC_SNIPCART_API_KEY defined.

Screen Shot 2022-01-10 at 07 52 33

Where should I check whether or not user logins are disabled?

@notrab
Copy link
Owner

notrab commented Jan 10, 2022

Can you try this?

If you don't want to offer the customer dashboard feature to customers: in your merchant dashboard, go to Store configurations → Checkout & cart, and mark the "Allow Guests only" box.

https://docs.snipcart.com/v3/setup/customer-dashboard

@pythlang
Copy link
Author

Thank you for the link. I will look at this now.

@pythlang
Copy link
Author

Looks like that solved it. Thanks a bunch, I'm new to the Snipcart platform and working on getting up to speed.

Please mark as closed.

image

image

@notrab
Copy link
Owner

notrab commented Jan 10, 2022

Awesome! I'm glad you got it sorted

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

No branches or pull requests

2 participants