Products Per Row

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hi there,

I want to change the displayed products each each row on the category and manufacturers page - v2.1. I used to be able to do this in 1.9 - but cant seem to find it in these MVC pages!

Thank you.

D
12 years ago
Does anyone know how to change the number of products displayed in each row on a page in v2.1?
12 years ago
1. Open \Presentation\Nop.Web\Views\Catalog\Category.cshtml and \Presentation\Nop.Web\Views\Catalog\Manufacturer.cshtml files
2. Find the following code
            
<div class="product-grid">
                @(Html.DataList<ProductModel>(Model.Products, 2,
                    @<div class="item-box">
                        @Html.Partial("_ProductBox", @item)
                    </div>
                ))
            </div>

3. Replace "2" with required columns number
12 years ago
@a.m:

I dont want to display my products in datalist....
but want to display in <ul><li> tag......

What to do...????

Thank You....
12 years ago
Very useful thanks. I did the same change in RecentlyAddedProducts.cshtml for new products as well.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.