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

config.json contains duplicate properties #2307

Open
antiok19 opened this issue Jan 16, 2023 · 1 comment
Open

config.json contains duplicate properties #2307

antiok19 opened this issue Jan 16, 2023 · 1 comment

Comments

@antiok19
Copy link

antiok19 commented Jan 16, 2023

Expected behavior

Only one property with a single name in config.json

Actual behavior

Many properties with the same name such as
optimizedCheckout-header-backgroundColor

Steps to reproduce behavior

  1. Set the light theme of Cornerstone on an empty project using page builder.
  2. Change the checkout background colour on Page builder to #000000.
  3. Save and publish the change. The checkout page appears with a header with a black background.
  4. Do a stencil pull or a stencil download of the theme locally.
  5. Do a stencil start.
  6. Add item to cart and go to checkout. The header is whitesmoke.
@bc-vlad-dlogush
Copy link
Contributor

Hello, @antiok19
If we change any settings in the Page Builder, the changes will be applied on production. Also, if you run Cornerstone locally, the project has its own config.json with its settings, so the header remains white.

There are also different settings variations. Here's how they can apply: https://developer.bigcommerce.com/stencil-docs/ZG9jOjIyMDY4NA-naming-your-theme-and-theme-variations#changing-a-theme-variations-font-family

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

2 participants