头图

Guidelines

The content page routes come from the background, and the configuration of product and category is located in the Spartacus layer.

In any case, modifications are allowed at the Spartacus level.

For example, the product route configuration, located in default-routing-config.ts:

Take myCompany as an example:

http://localhost:4299/powertools-spa/en/USD/organization

Request url:

https:///occ/v2/powertools-spa/cms/pages?pageType=ContentPage&pageLabelOrId=%2Forganization&lang=en&curr=USD

Explain that the type is ContentPage and the url is organization

These URLs are maintained in the SAP Commerce Cloud database through the cms-responsive-content.impex file in the extension spartacussampledata:

More original articles by Jerry, all in: "Wang Zixi":


注销
1k 声望1.6k 粉丝

invalid