vuestorefront-community / vendure

Vue Storefront 2 integration for Vendure
https://docs.vuestorefront.io/vendure/
MIT License
72 stars 51 forks source link

How could i modify Country list at checkout page? #226

Closed blackyzero closed 2 years ago

blackyzero commented 2 years ago

What is your question / Please describe your issue

Hello,

How could i modify the list country at checkout page? It it been fetched from Vendure API? For now, it shows Italy and Poland in Shipping and Billing.

Thank you.

What version of vendure are you using?

1.6.2

Code of Conduct

Baroshem commented 2 years ago

Hey, it can be modified both on the VSF and Vendure side

https://github.com/vuestorefront-community/vendure/blob/develop/packages/theme/helpers/constants.ts

In this file, you can decide what countries you want to be accessible from the checkout page.

Keep in mind that I linked the page in vue storefront repo. You will probably have a bit dofferent path due to VSF & Vendure template 🙂

blackyzero commented 2 years ago

Got it. thanks @Baroshem :)

Baroshem commented 2 years ago

Great, closing the issue then :)