Increasing serach results

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 năm cách đây
Is there any way to increase the number of search results when adding products into categories? A select all button would be nice too.
14 năm cách đây
What page are referring to?  The Category Mappings page?
14 năm cách đây
Categories>Example>Products>Add Products
14 năm cách đây
\NopCommerceStore\Administration\Modules\CategoryProduct.ascx

<asp:DataPager ID="pagerProductCategoryMappings" runat="server" PageSize="15" PagedControlID="gvProductCategoryMappings">

As for selecting all.. I would add a button and use jQuery to loop through all the boxes and check them.
14 năm cách đây
Thanks, I actually needed this


CategoryProductAdd.ascx

<asp:GridView ID="gvProducts" runat="server" AutoGenerateColumns="False" Width="100%"
    OnPageIndexChanging="gvProducts_PageIndexChanging" AllowPaging="true" PageSize="100">
    <Columns>
13 năm cách đây
You can do it better ;)

1) Add new setting :  Admin.Page.Size  - Value 100
2) Replace in you Admin ascx controls code :
 PageSize="15" 
by this
 PageSize='<%# SettingManager.GetSettingValueInteger("Admin.Page.Size", 25) %>' 

3) You can change your value in the admin.
4) You can also create differents settings for each controls PageSize to be more flexible.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.