Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Craig O'Mahony 364 posts 918 karma points
    Nov 30, 2012 @ 11:59
    Craig O'Mahony
    0

    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

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 07, 2012 @ 20:39
    Søren Spelling Lund
    0

    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.

  • Craig O'Mahony 364 posts 918 karma points
    Dec 07, 2012 @ 23:00
    Craig O'Mahony
    0

    Ok thanks Soren.

    I shall give this a whirl on Monday.

    Have a good weekend :) 

Please Sign in or register to post replies

Write your reply to:

Draft