Menu
Feedback
Start here

Known issues

Known issues
Advanced store settings being registered globally insted of by binding
CMS
•
ID: 783835
Backlog
Published on4/4/2023
•
Last updated on4/4/2023
1 min read

Summary

When saving the advanced settings splitted by binding, the system is registering for all of them, but, when requesting these values for render runtime, we get the values from the binding and not from the global context:

https://github.com/vtex-apps/store/blob/46e3df3ecba20170fc3a6eebf12370969e3b5abf/react/components/ProductTitleAndPixel.tsx#L186

Simulation

You will need a store with multi binding and enable binding for store settings at admin/cms/store:

{"base64":"  ","img":{"width":658,"height":112,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":18029,"url":"https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/CMS/advanced-store-settings-being-registered-globally-insted-of-by-binding_1.png"}}

Save your advanced settings and check your vtex store settings:

https://infra.io.vtex.com/apps/v0///apps/vtex.store/settings

You will notice that advanced settings will be outside bindings contexts

Workaround

Add the settings that you want through a PUT into the settings key inside one of the binding's object:

{"base64":"  ","img":{"width":626,"height":292,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":48186,"url":"https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/CMS/advanced-store-settings-being-registered-globally-insted-of-by-binding_2.png"}}

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback