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

"add to cart" user experience issue #11

Open
skandercci opened this issue Dec 22, 2024 · 1 comment
Open

"add to cart" user experience issue #11

skandercci opened this issue Dec 22, 2024 · 1 comment

Comments

@skandercci
Copy link

When a guest user (non-logged-in user) clicks the "Add to Cart" button, they are currently redirected to the login page automatically.

It would be better if the system allowed the guest user to add courses to their cart without requiring immediate login. This way, they could continue browsing and adding more courses to the cart as needed.

When the guest user clicks "Proceed to Checkout," they should then be redirected to the login page. This ensures a smoother user experience and encourages the guest to explore more courses before logging in.

Thank you very much for considering this improvement!

@onbirdev
Copy link
Owner

Hello,

Thank you for your suggestion! By default, guest users can add courses to their cart and view their cart without logging in. Login is only required during the checkout process.

However, the issue might be related to the "Add to Cart" button being located on the enrol/index.php page, which is not accessible for guest users. You can confirm this by copying and visiting the "Add to Cart" button link while not logged in.

That said, I will further investigate this to ensure a smoother cart experience for guest users.

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