My store have multiple strorefront and main one using en and other one uses el locales. When I work on my locale my Greek Store keeps using 'en' locale.
Expected behavior
When I Start Stencil Cli with given channel id stencil start --channelId XXX. Stencil should use channel level local settings.
Set With https://api.bigcommerce.com/stores/{store_hash}/v3/settings/store/locale?channel_id=XXXRelated V3 Api Doc
Actual behavior
getStoreSettingsLocale in store-settings-api-client.js does not use channel_id to set locale it just uses global one.
Steps to reproduce behavior
Have mutli-channel bigcommerce storefront
Set One Channels Locale settings with v3 api.
Run Stencil select or use channelId option.
My store have multiple strorefront and main one using
en
and other one usesel
locales. When I work on my locale my Greek Store keeps using 'en' locale.Expected behavior
When I Start Stencil Cli with given channel id
stencil start --channelId XXX.
Stencil should use channel level local settings. Set Withhttps://api.bigcommerce.com/stores/{store_hash}/v3/settings/store/locale?channel_id=XXX
Related V3 Api DocActual behavior
getStoreSettingsLocale
instore-settings-api-client.js
does not use channel_id to set locale it just uses global one.Steps to reproduce behavior
Have mutli-channel bigcommerce storefront Set One Channels Locale settings with v3 api. Run Stencil select or use channelId option.
Environment
Stencil-cli version
stencil --version
: 7.2.1Node version
node -v
: v18.18.0NPM version
npm -v
: 10.2.0OS: Mac OS Sonı-oma 14.1