Posts

Showing posts from April, 2022

SAP Spartacus : CMS content page with dynamic parameter

CMS content page with dynamic parameter: refer below example: here we are passing savedCart id as a dynamic parameter. e.g. 'my-account/saved-cart/000101010'  Angular/Saprtacus Configuration   @ NgModule ({   imports : [     CommonModule ,     SpinnerModule ,     I18nModule ,     PaginationModule ,     ReactiveFormsModule ,     FormsModule ,     RouterModule ,     IconModule ,     FormErrorsModule ,     MyAccountTopMenuModule ,     RouterModule . forChild ([       {   //path with dynamic parameter         path : 'my-account/saved-cart/:cartid' ,                 data : { //label of cms page without parameter.             pageLabel : '/my-account/saved-cart' ,         }, // for displaying CMS slots,compone...