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

Seller otp signup #772

Merged
merged 5 commits into from
Oct 19, 2024
Merged

Seller otp signup #772

merged 5 commits into from
Oct 19, 2024

Conversation

ShivanshPlays
Copy link
Contributor

Description

The seller signup process is enhanced to collect crucial store-related details along with email OTP-based authentication. The new fields will now allow sellers to register with necessary store information, ensuring a smooth onboarding process.

Key Changes:

  • Backend Changes (NextAuth + Prisma Schema Update):

** Add store-related fields to the Seller model in the Prisma schema:**

Store Owner Name
Store Name
Details of Store
Address
UPI ID for payments
Remove password-based authentication and replace it with Email OTP verification.

  • Frontend UI Changes:

** Signup Form for Sellers:**

A two-step form:
Email input for OTP generation.
OTP and Store Details Form (with fields listed above).
Integrate Zod validation to ensure proper input handling for all fields.

  • Error Handling:

Provide feedback for:
Incomplete form submission.
Invalid UPI ID format.

  • delivered:

Sellers are now required to input email and
and store details to complete signup and then verify email using OTP they are redirected to dashboard page after that
The process ensures a smooth and validated onboarding experience for sellers.

Priority:
High – This ensures a complete seller registration process with all necessary data collected at the time of signup.


Related Issues


Screenshots / videos (if applicable)

Untitled.video.-.Made.with.Clipchamp.mp4

Copy link

vercel bot commented Oct 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ezyshopz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2024 0:52am

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, ShivanshPlays, for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making Ezyshop better. 🎉

Copy link
Owner

@mdazfar2 mdazfar2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ShivanshPlays

@mdazfar2 mdazfar2 merged commit 1a0387b into mdazfar2:main Oct 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue: Feature Request – Add Additional Fields for Seller Signup Flow and OTP auth signup
2 participants