I'm going through the process of bringing the uCommerce demo store into my own site. I think that I've configured it correctly but I'm unable to view the catalog page. I'm getting the error of:
Does anyone know of a likely reason why this would occur (More than likely that I missed something in the setup). As a note this also happens in the standalone Demo Shop version that I have.
The context is populated based on information in the URLs. Are you using the default page layout and rewrite rules or did one or the other change?
If you're using different templates than the default you have to change the rewrite rules in the /config/UrlRwewriting.config to match the templates for your product/category pages.
Unable to display the Catalog page
Hi Folks,
I'm going through the process of bringing the uCommerce demo store into my own site. I think that I've configured it correctly but I'm unable to view the catalog page. I'm getting the error of:
Error loading Razor Script uCommerce/Catalog.cshtml.
Which I believe has something to do with the Macro ucCatalog on the line
'Category category = SiteContext.Current.CatalogContext.CurrentCategory; '
Does anyone know of a likely reason why this would occur (More than likely that I missed something in the setup). As a note this also happens in the standalone Demo Shop version that I have.
Thanks,
Craig
The context is populated based on information in the URLs. Are you using the default page layout and rewrite rules or did one or the other change?
If you're using different templates than the default you have to change the rewrite rules in the /config/UrlRwewriting.config to match the templates for your product/category pages.
Ok thanks Soren.
I shall give this a whirl on Monday.
Have a good weekend :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.