Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Advanced store settings being registered globally insted of by binding
Advanced store settings being registered globally insted of by binding
ID: 783835
Backlog
Published on 4/4/2023
Last update on 4/4/2023

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/help-center-content/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/help-center-content/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
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 support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback