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

Order blueprint does not include region or country for Shipping address #1123

Closed
sbrow opened this issue Aug 12, 2024 · 3 comments
Closed

Order blueprint does not include region or country for Shipping address #1123

sbrow opened this issue Aug 12, 2024 · 3 comments
Labels

Comments

@sbrow
Copy link
Contributor

sbrow commented Aug 12, 2024

Description

Currently, by default, the shipping address for the order model does not contain a country or a region.

Steps to reproduce

Environment

latest

@sbrow sbrow added the bug label Aug 12, 2024
@duncanmcclean
Copy link
Owner

That's odd. I certainly didn't intend to remove those fields.

I'll add them back when I get a chance.... or if someone beats me to it, I'd accept a PR.

@duncanmcclean
Copy link
Owner

I've fixed this for future installs. For existing sites, you'll need to add the fields manually:

          - handle: shipping_region
            field:
              max_items: 1
              mode: default
              display: "Shipping Region"
              type: region
              icon: region
              width: 50
              listable: hidden
              visibility: read_only
          - handle: shipping_country
            field:
              max_items: 1
              mode: default
              display: "Shipping Country"
              type: country
              icon: country
              listable: hidden
              width: 50
              visibility: read_only

duncanmcclean added a commit to duncanmcclean/sc-starter-kit that referenced this issue Aug 17, 2024
@sbrow
Copy link
Contributor Author

sbrow commented Aug 18, 2024

Thank you sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants