Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML8, MultiStore

Featured Products displays 5 products regardless of NumHomePageSpecials AppConfigvalue


Symptoms
Changing the number of displayed Featured Products (out of the box) using the AppConfig: NumHomePageSpecials does not change the number of displayed products.

Cause
The xml package used for the Featured Products contains a default value of "5" instead of "0" which forces the number displayed to always be 5.

Solution
Change the defvalue="5" to defvalue="0" in the line:

<queryparam paramname="@NumHomePageFeaturedProducts" paramtype="runtime" requestparamname="NumHomePageFeaturedProducts" sqlDataType="int" defvalue="5" validationpattern="" />

in the XML Package: featuredproducts.xml.config found in the {root}\XmlPackages folder.