Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stencil Cli Does Not Use Multi Storefront Channel Locale #1142

Open
onur-o7 opened this issue Oct 27, 2023 · 0 comments
Open

Stencil Cli Does Not Use Multi Storefront Channel Locale #1142

onur-o7 opened this issue Oct 27, 2023 · 0 comments

Comments

@onur-o7
Copy link

onur-o7 commented Oct 27, 2023

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=XXX
Related 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.

Environment

Stencil-cli version stencil --version: 7.2.1

Node version node -v: v18.18.0

NPM version npm -v: 10.2.0

OS: Mac OS Sonı-oma 14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant