我有一个使用spartacussampledataaddon运行电子加速器的SAP Commerce 2005.0和Spartacus 2.0.0环境。两者都没有任何自定义代码。
当我未登录并导航至“产品详细信息”页面时,按预期,我会看到“登录以添加到愿望清单”。
但是,(使用现有用户)登录并查看相同的PDP后,根本没有任何按钮。该产品有现货。在页面的源代码中,我仅看到以下内容:
<cx-add-to-wishlist><!--bindings={
"ng-reflect-ng-if": null
}--><!--ng-container--><!--bindings={
"ng-reflect-ng-if-else": "[object Object]"
}--><!--ng-container--><!--bindings={
"ng-reflect-ng-if": "[object Object]"
}--><!--container--></cx-add-to-wishlist>
什么可以解释按钮的缺失?
更新:我刚刚发现,如果我注册一个新客户然后登录,该按钮将按预期显示。