Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Home page specials

  1. #1
    Richnyc30 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    340

    Default Home page specials

    128 NumHomePageSpecials

    What is this?

  2. #2
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    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.

  3. #3
    OmegaSpeed is offline Junior Member
    Join Date
    Jun 2009
    Posts
    20

    Default

    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?

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    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="" />

  5. #5
    OmegaSpeed is offline Junior Member
    Join Date
    Jun 2009
    Posts
    20

    Default

    Perfect, thanks!