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

[4.x]: New address in order entry should only show enabled countries #3306

Open
bossanova808 opened this issue Oct 19, 2023 · 3 comments
Open
Labels
commerce4 Issues related to Commerce v4 💡 enhancement Ideas and suggestions

Comments

@bossanova808
Copy link
Contributor

What happened?

Description

Not a huge or urgent thing, but would be a good time saver - I feel the 'New Address' entry in order processing should only show the enabled countries.

I.e. I think this is inconsistent:

image

But then it defaults to (of course) the US. I feel it should default (in our case) to the store country (Australia) and only list enabled countries:

image

Craft CMS version

Craft Pro 4.5.7

Craft Commerce version

4.3.1

PHP version

8.2

Operating system and version

NA

Database type and version

NA

Image driver and version

NA

Installed plugins and versions

NA

@bossanova808 bossanova808 added commerce4 Issues related to Commerce v4 bug labels Oct 19, 2023
@nfourtythree nfourtythree added 💡 enhancement Ideas and suggestions and removed bug labels Oct 25, 2023
@nfourtythree
Copy link
Contributor

Hi @bossanova808

Thank you for your great suggestion, this is something we will definitely take on board and look to get in, in the future.

There are a few things to think about with this, for example, there is a business case that would only want to allow certain countries in the front end for people to check out. But maybe over the phone or internally store administrators may want to create orders for countries outside of that list. We also need to take into consideration what data Craft allows Commerce to pass to the instantiation of the new address element.

Definitely something we are looking to improve on and we will keep this issue updated with any/all developments.

Thanks!

@bossanova808
Copy link
Contributor Author

Good points - how about a compromise solution in the interim - at least default the new address country to the store country, and list those others enables at the top of the list, with the rest then underneath?

This would allow the most common cases to be much quicker, but still give the flexibility to do the things you mention...

@bossanova808
Copy link
Contributor Author

Following up here - any chance you can do this? It really is very irritating and surely jsut making the store's country the default selected for new addresses is not controversial?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commerce4 Issues related to Commerce v4 💡 enhancement Ideas and suggestions
Projects
None yet
Development

No branches or pull requests

2 participants