cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Commerce Cloud with Composable Storefront from Scratch

serdar_dere_cs
Explorer
0 Likes
1,004

Hello there,

I am starting a new project using SAP CC 2211 and SAP CC CS 6.0.

So far I tried the cx-for-spa installation which worked well, but it uses the deprecated yb2bacceleratorstorefront.

Therefore I tried to install it from scratch:
* created a project using accelerator module

ant modulegen -Dinput.module=accelerator -Dinput.name=myproject -Dinput.package=com.myproject -Dinput.template=develop

and removed the myprojectstorefront, because it is marked deprecated.

For the next steps I copied stuff from powertoolsstore to my sampledata and renamed it and was able to build and start both backend and frontend, but I fail to get pages from the backend.

I also add the spartacussampledata6 into my sampledata but still can't see a thing in frontend.

"There is no resource for path /occ/v2/myproject/cms/pages" is all I see

I can see the pages in smartedit, but am not able to preview and edit them, they are just there.

Can you guys give me a hint, or do I really need to use yacceleratorstorefront here?

Cheers, Serdar

Accepted Solutions (1)

Accepted Solutions (1)

serdar_dere_cs
Explorer
0 Likes

Okay I found it out myself.

Actually this was pure luck in guessing, because the information is not written down anywhere, but adding the extension cmsocc did the work.

It would be nice for the next fool, not spend his time in guessing, that this information is written down somewhere.

Cheers,

Serdar

Answers (1)

Answers (1)

serdar_dere_cs
Explorer
0 Likes

okay I have the very same problem with /products and /products/search