Hybris如何通过同一UID通过网站与不同的客户?

发布于 2025-02-10 02:09:12 字数 280 浏览 1 评论 0原文

我们希望在Hybris实例中拥有独立的客户,并带有4个网站。 “单独”表示:

  • 必须在4上使用相同的“ UID”创建客户 网站。目前是不可能的,因为“ uid”是唯一的。

  • 客户的地址也必须分开...

  • 订单必须分开,但已经由Hybris完成 人格化

可以自定义Hybris,以便在相同的租户/DB中具有相同ID但在不同站点的使用者?

在可能的情况下,要实现这一目标所需的步骤(从广义上讲)?

We want to have separate customers in a hybris instance with 4 websites.
"Separate" means that :

  • It must be possible to create a customer with the same "uid" on the 4
    websites. Currently isn't possible because "uid" is unique.

  • The addresses of customers must be separate too...

  • Orders must be separate, but already done by hybris with
    personnalization

It is possible to customize Hybris in order to have in the same tenant/DB multiple users with the same ID but in different sites?

In the case that this is possible, which are the steps (in broad terms) needed to achieve this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

樱桃奶球 2025-02-17 02:09:12

可能的解决方案将是:

  1. 在登录用户中只需要添加CustomerID,因此创建或注册客户的uid uid uid将是唯一的(customeruid+“ _”+“ siteuid”),
  2. 因此需要自定义并进行自定义,并需要扩展coreatuthication provider,并将其更改为适当的用户。

Possible solution would be:

  1. create or register customer with appending site uid so resultant customer uid will be unique(customeruid+"_"+"siteuid")
  2. during login user need to put only customerid so this need customization and to customize it need to extend CoreAuthenticationProvider and change it to proper user.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文