In some cases, the site administrators want to send emails when a user do the checkout based on the language of the order. At the moment this is not possible since the configuration schema for the checkout settings is missing from the basic_cart.schema.yml.

Issue fork basic_cart-3092775

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bprogrammer created an issue. See original summary.

bernardopaulino’s picture

Status: Active » Needs review
StatusFileSize
new1.77 KB

Added patch that updates basic_cart.schema with the information about the checkout settings for making it translatable and create basic_cart.config_translation.yml file in order to tie the config translation route.

bernardopaulino’s picture

Version: 8.x-6.0-beta2 » 8.x-6.x-dev
norman.lol’s picture

Version: 8.x-6.x-dev » 8.x-8.x-dev

norman.lol’s picture

Status: Needs review » Fixed
Related issues: +#3073446: Make success message translatable after add to cart

Thank you @bernardopaulino!

I think it's really important that all config strings from Basic Cart are translatable. Your contribution is much appreciated!

I additionally provided a *.config_translation.yml and fixed the *.links.task.yml so now there's also that "Translate" tab on the settings pages.

Screenshot of the admin page showing the Translate tab

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.