UPDATE ContentPage;$contentCV[unique=true];uid[unique=true];masterTemplate(uid,$contentCV);label;;quickOrderPage;AccountPageTemplate;/my-account/quick-order 在 ContentPage 里插入了一张表 quickOrderPage,基于的 template 为:AccountPageTemplate 根据 ID 搜索,搜索出来很多结果,这些 template 是关联到 Catalog version 的: template 可以挂载 content slot: 为什么搜索出来的 quickOrderPage,没有在 Spartacus 的 catalog 下面呢? Jerry 还没试过前台 Spartacus 连我后台的 H2011 Commerce Cloud,Quick Order 能否工作? 果然,在我们的开发服务器 Backoffice 上,就能看到 Quick order 页面,已经插入到 Spartacus 对应的 catalog 去了: 再看 ContentSlot:BodyContentSlot-quickOrder 这个 content slot 也是如此:在我们的开发服务器上能查到: 但是在我本地安装的服务器上查不到: Content slot 里插入的 Component: QuickOrderComponent 也必须分配到 Spartacus 对应的 catalog 下: 这个 Component 同样应该分配一个 content slot: 在我本地的服务器上,还没有创建这个 Component: 说明我的服务器安装时,还没有执行 Spartacus sampledata extension? |
|