cornerstone icon indicating copy to clipboard operation
cornerstone copied to clipboard

config.json contains duplicate properties

Open antiok19 opened this issue 2 years ago • 1 comments

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.

antiok19 avatar Jan 16 '23 02:01 antiok19

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

bc-vlad-dlogush avatar Mar 01 '23 09:03 bc-vlad-dlogush