SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
740 stars 387 forks source link

Introduce CMS configuration for fast setup #1706

Closed tobi-or-not-tobi closed 5 years ago

tobi-or-not-tobi commented 5 years ago

While a fine-grained CMS setup provides a lot of flexibility when customers need more control over the content and features they use, it makes it unnecessarily complex for new customers who like a simple setup from the start.

With this ticket, we layout the foundation for fallback configuration for CMS data.

It also intends to layout a pattern with loading and adapter logic, to decouple the backend; alternative data sources can be used for loading data and populating it to the UI models. These patterns will be the standard for other areas such as product, cart, promotion, etc.

tobi-or-not-tobi commented 5 years ago

QA Steps:

KateChuen commented 5 years ago

Tested on dev2. The only way to remove a slot is to go through backoffice -> wcms -> page template.

But in general, there's an issue where we need to remove the smartedit contract wrapping for the SPA components. Created ticket for this.