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
738 stars 383 forks source link

Store the SmartEdit preview token, include it in all OCC CMS calls, add contracts #294

Closed Xymmer closed 5 years ago

Xymmer commented 5 years ago

Dependency on CMSX-7968 and after #493 and #517

Spartacus must store the SmartEdit preview token and include it in all the backend calls to OCC. Some info here: https://wiki.hybris.com/display/CxM/SmartEdit+Support+for+Spartacus

Tobias: I was thinking of passing it as a query param, similar to what we currently do for the accelerator storefront. for example:



Pages/slot/component contracts was added in this ticket

QA:

Xymmer commented 5 years ago

talk to wei if unsure how to do this one

WeizhengSap commented 5 years ago

PR: https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/667