SAP 电商云 Spartacus UI 和 Accelerat

2022-07-31  本文已影响0人  _扫地僧_

https://spartacus-demo.eastus.cloudapp.azure.com/electronics-spa/en/USD/?asm=true

url 后面加了 ?asm=true 之后,在登录界面上方也会多出一个 Start Session 的按钮:

选择当前 site 上一个客户,比如 Jerry Wang:

从源代码分析,Spartacus UI 上确实没有显示 Placed by 字段:

只有 Placed on 字段:

Placed by 字段只用在 B2B 里:

https://localhost:9002/acceleratorservices/sop-mock/process

从 Accelerator 里看到上面这个请求的响应值:


Request URL: https://localhost:9002/acceleratorservices/sop-mock/process

直接访问是 405 Method Not Allowed

我试下直接 checkout,不走 ASM,会怎样。在 Backoffice Administration 面板能看到 Placed By 字段。

我们用来登录 ASM 的 asagent 是一个 employee:

在 ASM 模式下,输入客户名 Jerry,返回若干个匹配结果:

选中正确的那个 Jerry Wang:

electronics.local's server IP address could not be found.

https://electronics.local:9002/yacceleratorstorefront/electronics/en/checkout/multi/sop/response

https://electronics.local:9002/yacceleratorstorefront/electronics/en/checkout/multi/sop/response

https://answers.sap.com/questions/12761210/unable-to-place-order-in-electronics-site.html

https://hybrisdiary.wordpress.com/2015/08/07/the-server-at-electronics-local-cant-be-found-because-the-dns-look-up-failed/


Your account has been locked. Please contact your system administrator.

上一篇下一篇

猜你喜欢

热点阅读