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

Unable to Checkout Product when Address is created from user profile and then proceed for checkout. Email is a mandatory field at checkout. #9537

Closed
1 task done
ashishkumar-webkul opened this issue Feb 28, 2024 · 3 comments
Assignees
Labels
Bug Fixed When bug issue is fixed. Bug Something isn't working.

Comments

@ashishkumar-webkul
Copy link
Collaborator

Terms

  • Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected

2.1.1

Issue Description

Created a user and then added addresses from the customer profile. There when we create a user address email is not required.
After that add a product to cart and there we can see that the addresses which we have saved are appearing. After selecting the address when we click the proceed button there we can see in console errors are appearing and we are unable to process the checkout.

Preconditions

  1. Create a User.
  2. Add addresses to the user, minimum 2.

Steps to reproduce

  1. Go to User Profile -> Create Addresses -> There we can see that the email details are not appearing.
  2. Add any product to cart -> Proceed with checkout.
  3. Select the address which is pre-saved -> Click Proceed button.
  4. See errors in console -> 422 (Unprocessable Content)
  5. Unable to checkout.

Expected Result

Case 1.

If Email is mandartory field in Checkout page, then it should be added when we are creating user address.

Case 2.

If creating address from user email is not present, then it should not be a mandatory field at checkout page.

Actual Result

Currently we are unable to proceed with checkout as address is created from user end and email is a mandatory field. We need to add email and then can checkout product.

Video

Email.field.mp4

Screenshots

No response

Additional context

No response

@ashishkumar-webkul ashishkumar-webkul added the Bug Something isn't working. label Feb 28, 2024
@shivendra-webkul shivendra-webkul self-assigned this Feb 29, 2024
shivendra-webkul added a commit to shivendra-webkul/bagisto that referenced this issue Feb 29, 2024
@shivendra-webkul shivendra-webkul added the Fix Proposed A issue that has a PR related to it that provides a possible resolution but stil needs to be merged. label Feb 29, 2024
@devansh-webkul devansh-webkul added Bug Fixed When bug issue is fixed. and removed Fix Proposed A issue that has a PR related to it that provides a possible resolution but stil needs to be merged. labels Mar 1, 2024
@ashishkumar-webkul
Copy link
Collaborator Author

Checked and Found that the issue has been fixed. Email is mandatory at the User end Address create end.
Please find the video for reference.

Video

Email.Added.mp4

@shaizy1234
Copy link

shaizy1234 commented Mar 3, 2024

Hello, Issue is still there even your demo page is still not working, I also tried your latest upload but still same issue. did you try checkout with guest , as with guest its still issue of 404 server page not found.

Also as your video shows that first user have to signup and then login and then create new address but when creating address there is no email field. but when user will proceed to checkout user have to select address and then edit and add email address.
Please how we should explain all this to our shop buyers, buyers just goto checkout and either signup or checkout ad guest and if email field is missing page should show error.
This bug is actually not fixed, I am not sure how you can give update without checking the main function of checkout, my shop is down from weeks now because I update to latest version with these bugs.... :(

@shivendra-webkul
Copy link
Collaborator

Hi @shaizy1234, Thank you for addressing the email issue. We've already fixed this in the Master branch, and it's now functioning correctly. Please ensure you have the latest code from the Master branch. I've attached the pull request related to this issue for your reference. Kindly incorporate the outlined changes into your codebase.
PR link-#9555

~ The checkout page is functioning properly for both guest users and registered users without any issues. Please review the attached video for verification. Let us know if you have any further questions or concerns. Thank you!"
Video- https://webkul.chatwhizz.com/share/view-recording/65e55319095e20057950ff7d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fixed When bug issue is fixed. Bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

4 participants