I'm currently in the process of building a productgrid on the homepage.
I have 5 categories and 1 product of each category in this grid.
However in the design is a link to the corresponding category: "view all products in category x".
Is there a way to accomplish this without having to adjust the base NopCommerce models?
- NopCommerce version: 3.90
- Installed locally
- homepageproducts.cshtml
<div class="item-grid">
@foreach (var item in Model)
{
<div class="item-box">
@Html.Partial("_ProductBox", item)
**link to corresponding category?**
</div>
}
</div>