diff --git a/CHANGELOG.md b/CHANGELOG.md index 6afa13b72d..8ac1e2bc84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix GH build action & added package version and short commit hash to artifact names in GitHub Actions workflow for improved traceability and uniqueness. ([#2494](https://github.com/bigcommerce/cornerstone/pull/2494)) - Bump stencil-utils to 6.18.0 ([#2493](https://github.com/bigcommerce/cornerstone/pull/2493)) - Bump other GH actions to fix warnings related to old versions. ([#2495](https://github.com/bigcommerce/cornerstone/pull/2495)) +- Refactored complex `concat` logic to use `multiConcat` handlebar helper. ([2507](https://github.com/bigcommerce/cornerstone/pull/2507)) ## 6.15.0 (10-18-2024) - Cornerstone changes to support inc/ex tax price lists on PDP [#2486](https://github.com/bigcommerce/cornerstone/pull/2486) diff --git a/templates/components/account/payment-methods-list.html b/templates/components/account/payment-methods-list.html index 3a841d9ff4..44049a25d6 100644 --- a/templates/components/account/payment-methods-list.html +++ b/templates/components/account/payment-methods-list.html @@ -21,7 +21,7 @@

{{!-- If credit card STARTS --}} {{#if brand}} {{#inArray ../../theme_settings.supported_card_type_icons brand }} - {{lang (concat 'account.payment_methods.card_types.' brand)}} + {{lang (concat 'account.payment_methods.card_types.' brand)}} {{/inArray}} {{lang (concat 'account.payment_methods.card_types.' brand)}} {{lang 'account.payment_methods.card_ending_in' last_four=last_4}} {{else}} diff --git a/templates/pages/account/add-payment-method.html b/templates/pages/account/add-payment-method.html index 6d0a007360..4158a02a0c 100644 --- a/templates/pages/account/add-payment-method.html +++ b/templates/pages/account/add-payment-method.html @@ -59,7 +59,7 @@

{{lang 'account.payment_methods.payment_me {{forms.payment_method.provider_name}} {{#each ../theme_settings.supported_card_type_icons}} - {{lang (concat 'account.payment_methods.card_types.' this)}} + {{lang (concat 'account.payment_methods.card_types.' this)}} {{/each}}