I'm beginer with nop 2.5, today, I want to create link to click when user click on the link, It's will go to destination I like.
EX: I have page default.cshtml in views/Home
how can I define the link? (I'm sorry because, I'm begin to make friend with nop 2.5)
I saw on HearderMenu (on Share)
<a href="@Url.RouteUrl("ShoppingCart")" class="ico-cart">@T("ShoppingCart")
It's mean: link to RouteProvider.cs
routes.MapLocalizedRoute("ShoppingCart",
"cart/",
new { controller = "ShoppingCart", action = "Cart" },
new[] { "Nop.Web.Controllers" }); <<< that's right?
1. I don't understand what's "cart/"
another example
<a href="@Url.RouteUrl("Product", new { productId = Model.Id, SeName = Model.SeName })">@Model.Name</a>
I don't see it's something like "cart/"
2. Why did it always have new[] { "Nop.Web.Controllers" } but in admin don't have new[] { "Nop.Admin.Controllers" }?? what's purpose?