Change the default country of the HTML select in the checkout process #4463
Answered
by
joyboy67
joyboy67
asked this question in
Troubleshooting
-
Hi, I would change the default country of the select HTML (by default on USA) in the 1st step of the checkout I don't know if I need to change something in the partial or in the controller ? views/spree/adress/_form.html.erb
|
Beta Was this translation helpful? Give feedback.
Answered by
joyboy67
Jul 22, 2022
Replies: 1 comment
-
I think found the solution. By checking https://guides.solidus.io/developers/preferences/app-configuration |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joyboy67
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think found the solution. By checking
Spree::Config
I found thatSpree::Config.default_country_iso
is onUS
https://guides.solidus.io/developers/preferences/app-configuration