如何将 powertools 商品移至我的商店

How to move powertools items to my store

website.powertools.http=http://powertools.local:9001/mystorefront
website.powertools.https=https://powertools.local:9002/mystorefront

website.mystore.http=http://localhost:9002
website.mystore.https=https://localhost:900

这些来自 localproperties。

所以现在,当我去

https://localhost:9002

店面来了。当我点击某个东西时,它会转到

https://localhost:9002/powertools/en/USD/Open-Catalogue/Tools/Measuring-%26-Layout-Tools/c/1358

我想删除此 powertools 并将其设为我的商店。

我该怎么办?

我没有配置 powertools,它来自 b2b。

我也没有配置mystore

我只想让 powertools 成为我的商店。

我也在项目属性上做了

mystorefront.webroot=
storefrontContextRoot=

这是为了让本地主机导航到我的商店。

我也用过 impex,我可以在 wcms / 网站中看到

$siteUid=mystore       

# CMS Site                                                                                                 
INSERT_UPDATE CMSSite ; uid[unique=true] ; urlPatterns                                                                                                                  ;      
                      ; $siteUid         ; (?i)^https?://[^/]+(/[^?]*)?\?(.*\&)?(site=$siteUid)(|\&.*)$,(?i)^https?://$siteUid\.[^/]+(|/.*|\?.*)$,(?i)^https?://[^/].*$ ;

一个加速器模块可以显示多个 CMS 站点。 CMS 站点是您在线商店前端的配置项。它存储在数据库中。加速器模块只是负责显示 CMS 站点的源代码。显示什么 products/pages 以及支持什么语言、设计等都在 CMS 站点中配置。此外,CMS 站点包含 URL 模式,它们是正则表达式。如果请求 URL 匹配 URL 模式之一,则认为它属于相应的 CMS 站点。

您是否为 mystore 配置了 CMS 站点?创建 CMS 站点需要创建很多相关类型并且有很多陷阱。我建议您按照 hybris 帮助页面上的商业线索创建您自己的加速器 module/CMS 站点配置。