0
点赞
收藏
分享

微信扫一扫

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块

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

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_源代码分析

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_yacc_02

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_yacc_03

只有 Placed on 字段:

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_yacc_04

Placed by 字段只用在 B2B 里:

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_字段_05

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

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_yacc_06

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

直接访问是 405 Method Not Allowed

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_源代码分析_07

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_字段_08

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_源代码分析_09

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_源代码分析_10

选中正确的那个 Jerry Wang:

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_yacc_11

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_源代码分析_12

​​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/​​

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_字段_13


SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_字段_14

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

SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块_字段_15

举报

相关推荐

0 条评论