简体   繁体   中英

Sitecore > Default Storefront(pbCS) installation > Product detail page returns a Null Refference Exception

I was trying to install the default Storefront site (powered by Commerce Server). It looks good at the moment, I managed to rebuild all indexes and publish the content. However, I can't reach product detail page - I receive an exception. Example here .

I had faced with the similar issue when I tried to click on any catalog category. The log-file contains the same error message without any details. Could you please suggest something to fix this issue?

PS After the finishing the installation I didn't have any products on the site. I fixed that issue:

  1. selected the default Adventure Works catalog in the Sitecore tree( using content manager ).
  2. Filled in field CategoryDatasource (with the path to categories)

I think it might cause the error which I described above.

Thank you in advance for the help.

You have to set the catalog for the site via a home node property.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM