I am setting up our Ablecommerce 7.0.4 cart for the first time as I am migrating us off Xcart and went to sort the Featured Products list but there doesn't seem to be a way to do it. Am I missing something? I tried under the Marketing -> Featured Products menu but you can only add them. If i wanted to change the order do I need to remove them all then add them again in the order I want?
Thanks,
Dave
Sort Featured Product List
Re: Sort Featured Product List
Give a try edit your ConLib/FeaturedProductsGrid.ascx.cs file and locate following code line
and the update it as below
This will list featured products in alphabetical ascending order. If you want it in descending order then simply update "Name" to "Name DESC". Finally if you want to pick products based on system adjusted order simply replace "Name" with "".
Code: Select all
ProductList.DataSource = ProductDataSource.GetRandomFeaturedProducts(0, true,IncludeOutOfStockItems, this.Size);
Code: Select all
//ProductList.DataSource = ProductDataSource.GetRandomFeaturedProducts(0, true,IncludeOutOfStockItems, this.Size);
ProductList.DataSource = ProductDataSource.GetFeaturedProducts(0, true, IncludeOutOfStockItems, "Name");