Allow default config to be provided by a service

Created on 16 June 2014, over 10 years ago
Updated 23 June 2023, over 1 year ago

Commerce 2.x is trying to co-operate with the wider PHP community by providing generic libraries which among other things include currency and tax rate definitions.
This allows all ecommerce projects to share a common list of default currencies and tax rates (where possible).

On the Drupal side, Commerce needs to create configuration entities using those definitions.
The admin can then modify the entities (changing the currency, adding a new one), deploy it to another site.
However, since we are not providing default config in YAML files, Xano tells me that it is possible we'd have issues with config resets, which would cause config to be wiped out since defaults aren't known.

So it would be great if configuration could be provided through a service.
This would allow Commerce to call the library, get the default definitions, and turn that into default config.

✨ Feature request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated 1 day ago

Created by

πŸ‡·πŸ‡ΈSerbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024