frontends
frontends copied to clipboard
Ability to fetch all countries using the useCountries composable
Describe the feature
Currently the useCountries composable only returns a subset of countries, whatever is configured as the default page-size for the API (in most cases this should be 100). It is also not possible to change the API-call using the composable, because you can not pass criteria (or at least a subset like pageSize).
It would be nice to have a way to fetch all countries using the composable (doesn't have to be the solution to pass criteria!).
Description
Acceptance Criteria
No response
Additional information
- [x] Would you be willing to help implement this feature?
Checks
- [x] Check existing discussions and issues.
I have found that this is a limitation in Shopware itself.
You can configure the limit in your z-shopware.yaml:
shopware:
api:
store:
max_limit: 500