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 for support.

  • Terry Clancy 185 posts 842 karma points
    Jun 11, 2015 @ 07:12
    Terry Clancy

    Need to redirect "CatalogLibrary.GetNiceUrlForCategory(category)" traffic to a new page

    Hi uCommerce folk,

    I have a project which contains both the "Avenue Clothing" Demo Razor store (for learning) as well as the store I am building.

    My code is based on the demo code and is calling "@CatalogLibrary.GetNiceUrlForCategory(category)" to go to a product page. This currently calls the Demo Razor store page at \macroScripts\uCommerce\Product.cshtml .

    I have created a new MVC View page (largely based on the contents of \macroScripts\uCommerce\Product.cshtml ) and need to change ??Something?? so that when I call @CatalogLibrary.GetNiceUrlForCategory(category)" it calls my new page rather than the old Product.cshtml page.

    *(1) What do I need to change ?

    (2) Also is CatalogLibrary.GetNiceUrlForCategory(category) part of base Umbraco or part of the Razore Demo store ?*

    Thanks a lot

    Terry Clancy


  • Terry Clancy 185 posts 842 karma points
    Jun 12, 2015 @ 07:08
    Terry Clancy


    I think I have figured this our for myself.

    It looks like the file


    has entries that determine the destination pages for the



    Thanks anyway :-)

    Terry Clancy


Please Sign in or register to post replies

Write your reply to: