Skip to content

fix: create address section not shown when customer has zero addresses#3456

Merged
fredericoo merged 4 commits intomainfrom
fb-fix-customer-addresses
Feb 16, 2026
Merged

fix: create address section not shown when customer has zero addresses#3456
fredericoo merged 4 commits intomainfrom
fb-fix-customer-addresses

Conversation

@fredericoo
Copy link
Contributor

@fredericoo fredericoo commented Feb 9, 2026

users with zero addresses were unable to create addresses

@fredericoo fredericoo requested a review from a team as a code owner February 9, 2026 15:42
@fredericoo fredericoo force-pushed the fb-fix-customer-addresses branch from 24871eb to 0f866c9 Compare February 9, 2026 15:47
@shopify
Copy link
Contributor

shopify bot commented Feb 9, 2026

Oxygen deployed a preview of your fb-fix-customer-addresses branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment February 16, 2026 2:54 PM

Learn more about Hydrogen's GitHub integration.

@@ -0,0 +1,8 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

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

(threading)

I think the form should be cleared upon successful submission. But definitely not cleared if there is an error. When I created my address it kept the form populated which felt odd

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added key to the new address form as the number of addresses we have – this is a quick way to lose state when it works.

the tradeoff is that if you fill it, then delete an address, it’ll be cleared too

but this does make it a nicer experience in general, and improving creation of addresses is not the scope of this PR

@fredericoo fredericoo requested a review from kdaviduik February 10, 2026 18:30
Copy link
Contributor

@kdaviduik kdaviduik left a comment

Choose a reason for hiding this comment

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

LGTM, CI seems to be failing for the changeset, please look into that and fix it before merging

Copy link
Contributor Author

fredericoo commented Feb 16, 2026

Merge activity

  • Feb 16, 4:28 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 16, 4:29 PM UTC: @fredericoo merged this pull request with Graphite.

@fredericoo fredericoo merged commit 22d0d97 into main Feb 16, 2026
15 checks passed
@fredericoo fredericoo deleted the fb-fix-customer-addresses branch February 16, 2026 16:29
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