天天看點

SAP Spartacus content page url的寫死清單 - Page Label

CMS page label必須是下列清單裡其中之一:

Spartacus expects the page label homepage to be configured in the CMS. For B2C Storefront recipe the list of expected CMS page labels by default is longer:

search

/login

/logout

/login/register

/login/forgot-password

/login/reset-password

/terms-and-conditions

/cart

/checkout

/checkout/shipping-address

/checkout/delivery-mode

/checkout/payment-details

/checkout/review-order

/order-confirmation

/my-account/order

/my-account/orders

/not-found

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

For almost all Content Pages, Spartacus treats the URL as the CMS page label. It means that changing the config of route in Spartacus requires also a change of the page label in the CMS.

對于content page來說,如果Spartacus裡的route config的url發生變化,需要到CMS裡修改對應的page label.

繼續閱讀