128 NumHomePageSpecials
What is this?
128 NumHomePageSpecials
What is this?
That AppConfig parameter will help you set how many featured items you want to display. Therefore, if you set its value as 2, you should see 2 rows of the products specified under the AppConfig: IsFeaturedCategoryID.
Sorry to bring up an old post, but I set the NumHomePageSpecials to 3, but all 5 featured products are showing on my homepage.
Is there something I have to add in the featuredproducts.xml.config code or something to limit the number of featured products to NumHomePageSpecials?
If you open up the FeaturedProducts.xml.config, it looks like the @NumHomePageFeaturedProducts param was defaulted to 5 (defvalue), just set that to 0 and that should do the trick.
e.g.
Code:<queryparam paramname="@NumHomePageFeaturedProducts" paramtype="runtime" requestparamname="NumHomePageFeaturedProducts" sqlDataType="int" defvalue="0" validationpattern="" />
Perfect, thanks!