在configuration.service.ts里查看config对象:

展开routing字段:

所有路由配置信息都在里面:

和产品相关的路由信息:

从configuration.service.ts里找到config对象:


以其中的ContentPage1Template为例:

完整内容:

{"StoreFinderPageTemplate":{"slots":["MiddleContent","SideContent"]},"header":{"lg":{"slots":["PreHeader","SiteContext","SiteLinks","SiteLogo","SearchBox","SiteLogin","MiniCart","NavigationBar"]},"slots":["PreHeader","SiteLogo","SearchBox","MiniCart"]},"navigation":{"lg":{"slots":[]},"slots":["SiteLogin","NavigationBar","SiteContext","SiteLinks"]},"footer":{"slots":["Footer"]},"LandingPage2Template":{"pageFold":"Section2B","slots":["Section1","Section2A","Section2B","Section2C","Section3","Section4","Section5"]},"ContentPage1Template":{"slots":["Section2A","Section2B"]},"CategoryPageTemplate":{"pageFold":"Section2","slots":["Section1","Section2","Section3"]},"ProductListPageTemplate":{"slots":["ProductLeftRefinements","ProductListSlot"]},"ProductGridPageTemplate":{"slots":["ProductLeftRefinements","ProductGridSlot"]},"SearchResultsListPageTemplate":{"slots":["Section2","ProductLeftRefinements","SearchResultsListSlot","Section4"]},"SearchResultsGridPageTemplate":{"slots":["Section2","ProductLeftRefinements","SearchResultsGridSlot","Section4"]},"ProductDetailsPageTemplate":{"lg":{"pageFold":"UpSelling"},"pageFold":"Summary","slots":["Summary","UpSelling","CrossSelling","Tabs","PlaceholderContentSlot"]},"CartPageTemplate":{"slots":["TopContent","CenterRightContentSlot","EmptyCartMiddleContent"]},"AccountPageTemplate":{"slots":["BodyContent","SideContent"]},"LoginPageTemplate":{"slots":["LeftContentSlot","RightContentSlot"]},"ErrorPageTemplate":{"slots":["TopContent","MiddleContent","BottomContent"]},"OrderConfirmationPageTemplate":{"slots":["BodyContent","SideContent"]},"MultiStepCheckoutSummaryPageTemplate":{"slots":["TopContent","BodyContent","SideContent","BottomContent"]},"CheckoutLoginPageTemplate":{"slots":["RightContentSlot"]}}

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP Spartacus全局配置模块里和layoutSlot相关的配置相关推荐

  1. SAP Spartacus cost-center.config.ts里定义的路由常量,是如何被加载的

    文件地址:feature-libs\organization\administration\components\cost-center\cost-center.config.ts module id ...

  2. SAP Spartacus cms-components.service.ts里的config.cmsComponents

    // we use defer, to be sure the logic below used to compose final observable// will be executed at s ...

  3. SAP Spartacus全局配置里和路由Route相关的配置

    在configuration.service.ts里查看config对象: 展开routing字段: 所有路由配置信息都在里面: 和产品相关的路由信息: 要获取更多Jerry的原创文章,请关注公众号& ...

  4. 一些关于 SAP Spartacus 组件和模块延迟加载的问题和解答

    仅执行组件延迟(Component lazy load)加载是不是不起作用?进行这项工作是否需要任何设置? 考虑到我们在整个网站上使用的共享组件,我们想采用这种方法(即组件延迟加载).这样,我们可以只 ...

  5. SAP CRM和Hybris Commerce里关于价格折扣的一些配置

    最近Jerry做了一个和价格折扣相关的原型项目,把学到的知识记录下来,以备将来查阅. 在这个原型项目里,我们用React-Native开发了一个移动应用,用户可以在手机上浏览SAP Hybris Co ...

  6. SAP Spartacus 启动时 Chrome 里观察到的 product.js

    Spartacus 4.0 ng serve 之后,在控制台看到如下消息: Browser application bundle: product.js storefinder.js 访问 local ...

  7. SAP Spartacus lazy load module 里包含了被其他 Component 静态引用的组件该怎么办

    例子: 我试图让 ProductModule 支持懒加载: 然而,该 module 里声明了一个 CMS Component:PDPServiceComponent: 该 Component 被 Cu ...

  8. SAP Spartacus category在breadcrumb里显示不正确的一个问题

    在B2C的页面里,先点击某个category,观察其breadcrumb显示:显示的是category name: 而B2B模式下,显示的category code,而不是category name, ...

  9. SAP Spartacus cost center list里通向detail页面的url生成逻辑

    在cell.component.ts的get route里设置断点,作为调试入口: 需要的参数:cxRoute: 'orgCostCenterDetails', params: code: 'Cust ...

最新文章

  1. html整个项目怎么导出来,怎样将jquery导入web项目中?
  2. libreoffice_利用Excel或LibreOffice的业务输入进行单元测试约束
  3. Activity的LaunchMode和taskAffinity
  4. WinSocket模型的探讨——完成端口模型
  5. HTTP之Content-Security-Policy的使用(C++ Qt框架实现)
  6. oracle中何时会用到join,Oracle中join用法的演示
  7. 英语总结系列(十五):别样的三月
  8. 业界 | 从未卜先知的信号灯说起,阿里城市大脑的智慧交通实践
  9. flash跟随鼠标样式
  10. python 自动批量打开网页
  11. 程序员如何做好应聘?简历、面试和Offer
  12. 计算机表格常用公式,十个办公常用的最基本的Excel函数
  13. 人脸识别门禁应用方案
  14. 数字逻辑电路 逻辑运算 与、或、非、与非、或非、与或非、异或、同或 二进制运算技巧
  15. JS 判断 IE 浏览器版本
  16. python绘制旭日图
  17. 高级查询组件dynamicCondition升级为v2.0.0版本(一)——使用步骤
  18. Latex写文章时插入单栏图片和双栏图片方法
  19. 【神州网信】【win10】相机等权限的开启方法
  20. DASCTF九月挑战赛复现-web

热门文章

  1. Jmeter远程测试
  2. linux中下载文件的命令
  3. Javascript的调试利器:Firebug使用详解
  4. android第五天晚:surfaceView
  5. 《SQL必知必会(第4版)》 02 检索数据
  6. centos7 yum 安装lnmp
  7. 洛谷P1527 [国家集训队] 矩阵乘法 [整体二分,二维树状数组]
  8. Mysql大数据备份和增量备份及还原
  9. spring 整合mongodb报NoSuchMethodError错误
  10. 夺命雷公狗—angularjs—19—angular-route