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

Admin should not restrict countries to checkout_zone #2562

Closed
jhawthorn opened this issue Feb 8, 2018 · 0 comments
Closed

Admin should not restrict countries to checkout_zone #2562

jhawthorn opened this issue Feb 8, 2018 · 0 comments
Labels
changelog:solidus_backend Changes to the solidus_backend gem type:bug Error, flaw or fault

Comments

@jhawthorn
Copy link
Contributor

From @softr8 in #solidus slack

I need to create some stock locations with a different country than the one available for the storefront(Spree::Config.checkout_zone), is this some special case for me or this is something that would be more general?

This seems like a bug. In both frontend and backend we use available_countries to build a list of countries.

There's a Spree::Config.checkout_zone setting, which is intended to limit the countries which can be chosen on the frontend. Because this helper is shared and also used on the admin, it also limits the countries which can be seen and selected there.

We should change this so that the admin can always select all countries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem type:bug Error, flaw or fault
Projects
None yet
Development

No branches or pull requests

1 participant