Skip to content

@W-21109850: Continue as Guest skips entering phone number#3626

Merged
syadupathi-sf merged 13 commits into1cc_bugsfrom
dannyphan2000.W-21109850.continue-as-guest-fix
Feb 3, 2026
Merged

@W-21109850: Continue as Guest skips entering phone number#3626
syadupathi-sf merged 13 commits into1cc_bugsfrom
dannyphan2000.W-21109850.continue-as-guest-fix

Conversation

@dannyphan2000
Copy link
Contributor

@dannyphan2000 dannyphan2000 commented Jan 30, 2026

Enter checkout as a guest. Fill out a registered email address, but choose to Continue as Guest.

Result: The modal is closed. But we're skipping Contact Information stage without needing to fill out phone number (required field).
Expected: The modal should be closed, but stay in Contact Information stage so that shopper can enter their phone number. We allow shoppers to enter information manually (like a guest shopper).

Description

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

Screenshot 2026-02-02 at 7 22 33 PM

How to Test-Drive This PR

  • See desciption

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

@dannyphan2000 dannyphan2000 requested a review from a team as a code owner January 30, 2026 20:25
@dannyphan2000 dannyphan2000 added the skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated label Jan 30, 2026
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Jan 30, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

} catch (error) {
const message = formatMessage(getPasswordlessErrorMessage(error.message))
setError(message)
const handleCheckoutAsGuest = () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only closing the modal for now (and set state)

}

if (!result.isRegistered) {
if (!result.isRegistered || registeredUserChoseGuest) {
Copy link
Contributor Author

@dannyphan2000 dannyphan2000 Jan 30, 2026

Choose a reason for hiding this comment

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

All the information are saved to basket upon Continue to Shipping Address (ie submit the form) just like a guest shopper

Base automatically changed from feature/1cc_merge to develop February 2, 2026 18:10
@syadupathi-sf syadupathi-sf requested a review from a team as a code owner February 2, 2026 18:10
syadupathi-sf and others added 11 commits February 2, 2026 18:12
* W-20892497 Show Phone number in Contact Info summary

* fix lint
* W-20892592 Remove gift messaging for multi shipment

* translations
…phone for user registration (#3583)

* W-20892530 Billing Address Validation

* W-20892577 save contact info phone
* fix sdk tests and app bundle size

* fix lint
* address first set of comments

* address rest of code review comments

* reverting default.js changes

* fix package versions

* shipping options fix

* attempt to fix flaky tests
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
@syadupathi-sf syadupathi-sf force-pushed the dannyphan2000.W-21109850.continue-as-guest-fix branch from 83f32b6 to bbf8ec8 Compare February 2, 2026 23:19
@syadupathi-sf syadupathi-sf changed the base branch from develop to 1cc_bugs February 3, 2026 00:30
@syadupathi-sf syadupathi-sf merged commit f867e6a into 1cc_bugs Feb 3, 2026
42 checks passed
@syadupathi-sf syadupathi-sf deleted the dannyphan2000.W-21109850.continue-as-guest-fix branch February 3, 2026 00:38
kumaravinashcommercecloud pushed a commit that referenced this pull request Feb 9, 2026
* @W-21109850: Continue as Guest skips entering phone number (#3626)

* One click checkout

* changes to fix install, tests and lint - needs to be reviewed

* revert the test change in pwa-kit-runtime

* @W-20892497 Show Phone number in Contact Info summary (#3576)

* W-20892497 Show Phone number in Contact Info summary

* fix lint

* @W-20892592 Remove gift messaging for multi shipment (#3579)

* W-20892592 Remove gift messaging for multi shipment

* translations

* @W-20892530 @W-20892577 Billing Address Validation and Using contact phone for user registration (#3583)

* W-20892530 Billing Address Validation

* W-20892577 save contact info phone

* Fix SDK tests (#3593)

* fix sdk tests and app bundle size

* fix lint

* @ W-20540715 Address 1CC feature branch review comments (#3619)

* address first set of comments

* address rest of code review comments

* reverting default.js changes

* fix package versions

* shipping options fix

* attempt to fix flaky tests

* passwordless mode updates

* @W-21109850: Continue as Guest skips entering phone number

Signed-off-by: d.phan <d.phan@salesforce.com>

* fix import

Signed-off-by: d.phan <d.phan@salesforce.com>

* translations

* fix user not found error

---------

Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: Sushma Yadupathi <syadupathi@salesforce.com>
Co-authored-by: syadupathi-sf <66088780+syadupathi-sf@users.noreply.github.com>

* W-21111863 Hide user registration for returning shoppers who chose to checkout as guest (#3634)

* @W-21005976 Save newly registered user's info when they leave checkout… (#3632)

* W-21005976 Save newly registered user's info when they leave checkout and return

* code review comments

* @W-21109829 Editing shipping options in multi shipment scenarios (#3637)

* W-21109829 Editing shipping options in multi shipment scenarios

* minor text changes

* remove unnecessary test

---------

Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: syadupathi-sf <66088780+syadupathi-sf@users.noreply.github.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
unandyala pushed a commit that referenced this pull request Feb 10, 2026
* @W-21109850: Continue as Guest skips entering phone number (#3626)

* One click checkout

* changes to fix install, tests and lint - needs to be reviewed

* revert the test change in pwa-kit-runtime

* @W-20892497 Show Phone number in Contact Info summary (#3576)

* W-20892497 Show Phone number in Contact Info summary

* fix lint

* @W-20892592 Remove gift messaging for multi shipment (#3579)

* W-20892592 Remove gift messaging for multi shipment

* translations

* @W-20892530 @W-20892577 Billing Address Validation and Using contact phone for user registration (#3583)

* W-20892530 Billing Address Validation

* W-20892577 save contact info phone

* Fix SDK tests (#3593)

* fix sdk tests and app bundle size

* fix lint

* @ W-20540715 Address 1CC feature branch review comments (#3619)

* address first set of comments

* address rest of code review comments

* reverting default.js changes

* fix package versions

* shipping options fix

* attempt to fix flaky tests

* passwordless mode updates

* @W-21109850: Continue as Guest skips entering phone number

Signed-off-by: d.phan <d.phan@salesforce.com>

* fix import

Signed-off-by: d.phan <d.phan@salesforce.com>

* translations

* fix user not found error

---------

Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: Sushma Yadupathi <syadupathi@salesforce.com>
Co-authored-by: syadupathi-sf <66088780+syadupathi-sf@users.noreply.github.com>

* W-21111863 Hide user registration for returning shoppers who chose to checkout as guest (#3634)

* @W-21005976 Save newly registered user's info when they leave checkout… (#3632)

* W-21005976 Save newly registered user's info when they leave checkout and return

* code review comments

* @W-21109829 Editing shipping options in multi shipment scenarios (#3637)

* W-21109829 Editing shipping options in multi shipment scenarios

* minor text changes

* remove unnecessary test

---------

Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: syadupathi-sf <66088780+syadupathi-sf@users.noreply.github.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants