Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 710 Bytes

2021-05-05-format-currency-based-on-language.md

File metadata and controls

16 lines (16 loc) · 710 Bytes
title issue author author_email author_github
Format currency based on language
NEXT-11915
NiklasLimberg
n.limberg@shopware.com
NiklasLimberg

Core

  • Added a database call to get the systemCurrencyISOCode, to render the index.html.twig in the AdministrationController
  • Added the systemCurrencyISOCode to the Vue setup appContext in index.html.twig

Administration

  • Added systemCurrencyISOCode to the appContext in the Vuex Store.
  • Changed the currency filter, to now use the systemCurrencyISOCode as default, if a currency isn't specified
  • Changed the currency filter, to now use the currentLocale as default, if a language isn't specified