Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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 :-)
Write your reply to:
Image will be uploaded when post is submitted