Hi, i am trying to add an option to the page size drop down box on the category pages. at the minute i have 12, 24 and 48. i would like to add an option to show 'All' products. i thought about adding an option of 100000. however this wouldn't look very good if there are only 50 products to show for example. how can i add an 'All' option to the drop down list?
Thanks. I have enabled "Include products from subcategories". but still shows only 6 product per cateotry. I have also removed the line from CategoryTemplate.ProductsInGridOrLines.cshtml. which does not help
var pager = Html.Pager(Model.PagingFilteringContext).QueryParam("pagenumber");
Thanks. I have enabled "Include products from subcategories". but still shows only 6 product per cateotry. I have also removed the line from CategoryTemplate.ProductsInGridOrLines.cshtml. which does not help
var pager = Html.Pager(Model.PagingFilteringContext).QueryParam("pagenumber");
Hi,
It goes from model as well. Not only .cshtml page. Please fill proper value for "Page Size options (comma separated)" in your category description on Admin -> Catalog -> Categories -> YOUR CATEGORY -> Edit.
You cannot just display all products in nopCommerce without customizing c# source code but you can set a large page size number.
Otherwise, second option is to use Lazy loading (Continuous loading) instead of paging. This you can configure on .cshtml view page.