Skip to content

@W-20542802: remove set as default checkbox [multiship]#3522

Merged
dannyphan2000 merged 1 commit intofeature/1cc_paymentsfrom
dannyphan2000.W-20542802.multiship-remove-default-checkbox
Dec 17, 2025
Merged

@W-20542802: remove set as default checkbox [multiship]#3522
dannyphan2000 merged 1 commit intofeature/1cc_paymentsfrom
dannyphan2000.W-20542802.multiship-remove-default-checkbox

Conversation

@dannyphan2000
Copy link
Contributor

@dannyphan2000 dannyphan2000 commented Dec 16, 2025

remove set as default checkbox [multiship]

Screenshot 2025-12-16 at 12 03 36 PM

Description

[Multiship] Set as default checkbox still present in the new address form for multiship. We have removed those in the regular single shipment address form. It needs to be removed here too.

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

  • (change1)

How to Test-Drive This PR

  • (step1)

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)

Signed-off-by: d.phan <d.phan@salesforce.com>
@dannyphan2000 dannyphan2000 requested a review from a team as a code owner December 16, 2025 17:06
@@ -0,0 +1,382 @@
/*
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making a copy over this component (actually a list of components) file from the regular checkout (we don't want to directly modify the normal checkout flow)

@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Dec 16, 2025

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.

</AlertDescription>
</Alert>
)}
<AddressFields form={form} hidePreferred={true} />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The actual change... just adding a prop hidePreferred={true} lol

@dannyphan2000 dannyphan2000 merged commit cca5530 into feature/1cc_payments Dec 17, 2025
11 of 16 checks passed
@dannyphan2000 dannyphan2000 deleted the dannyphan2000.W-20542802.multiship-remove-default-checkbox branch December 17, 2025 17:15
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

Successfully merging this pull request may close these issues.

3 participants