Nop-Templates.com wrote:Hello,
The pager indicates there are loaded products for this customer - 4 pages of them in fact but they aren't visible to you. Have you inspected the HTML of the page to see if the products are there but are hidden with CSS somehow?
Also, have you done any modifications to the CategoryTemplate.ProductsInGridOrLines.cshtml file?
Regards,
Anton
Thanks for your reply, below is the markup where the product list should be in CategoryTemplate.ProductsInGridOrLines.cshtml:
@if (Model.Products.Count > 0)
{
<div class="@(Model.PagingFilteringContext.ViewMode == "list" ? "product-list" : "product-grid")">
<div class="item-grid">
@foreach (var product in Model.Products)
{
<div class="item-box">
@Html.Partial("_ProductBox", product)
</div>
}
</div>
</div>
}
As you can see this is completely unedited by it seems the products list has no products in it as it's this block of HTML that isn't shown for the customer, as seen below:
Working Customer (Some trimming where the ellipses(...) are)
<div class="page-body">
...
<div class="product-grid">
<div class="item-grid">
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
<div class="item-box">...</div>
</div>
</div>
<div class="pager">
<ul><li class="current-page"><span>1</span></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=2">2</a></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=3">3</a></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=4">4</a></li><li class="next-page"><a href="/Hand-Towels---Folded?pagenumber=2">Next</a></li></ul>
</div>
</div>
Not Working Customer
<div class="page-body">
<div class="product-filters">
</div>
<div class="pager">
<ul><li class="current-page"><span>1</span></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=2">2</a></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=3">3</a></li><li class="individual-page"><a href="/Hand-Towels---Folded?pagenumber=4">4</a></li><li class="next-page"><a href="/Hand-Towels---Folded?pagenumber=2">Next</a></li></ul>
</div>
</div>
As you can see the product-grid element isn't even there which is what makes me think no products are sent to the view but the pager is getting them somehow?