This is the early access documentation preview for Custom Views. This documentation might not be in sync with our official documentation.
Change configuration
The sample data helped you get familiar and understand key concepts. Now it is time to review and change the configuration as you need it. Adjust project-wide settings like Channels, locales, currencies, countries, and taxes to your needs.
Locales and currencies
To change locales in your storefront, you must change the Project configuration in commercetools Composable Commerce with the Merchant Center, and in commercetools Frontend and its Backend for Frontend (BFF).
- Frontend:
- Change project.config.js and update the
localizationMapper
mapper:locale
,currency
,currencyCode
and other variables. - Change BaseApi.ts and update the values for
defaultCurrency
,languageToTerritory
, andmodifierToCurrency
. - Create a support ticket to change or update your Frontend project's locale. Note that this would only affect newly created pages. After they've made the configuration change, the new locales will be shown in your Studio, and you can add your localized data for the new locales.
- Change project.config.js and update the
- Composable Commerce:
- Configure your desired locales and currencies for your Composable Commerce Project in the Merchant Center.
- Now you are ready to use the locales and currencies in your product and other data.
Tax Categories
For VAT-like taxes and simple setups, you can use the Merchant Center. For an advanced tax calculation setup or for complex countries like the US, integrate using a third-party tax provider. Learn more about configuration for external tax providers in this guide.
Shipping Methods and Zones
Use the Merchant Center to set up fixed shipping rates or single Shipping Methods. To learn more about predicates, tiered shipping rates, and multiple Shipping Methods, see the Shipping and Delivery Overview.
Channels
With the Merchant Center, you can do the following:
- Set up an InventorySupply Channel to represent a warehouse, a distribution hub, a physical retail space, and track different stock levels for the same SKU (with each Channel having its own inventory management capability).
- Set up a ProductDistribution Channel to set different prices for the same SKU (with each Channel having a corresponding Price).
If you have an Order Management System integration, you can use the API to set up an OrderExport Channel to track order export activities.