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 3 of 3

Thread: Site Map Question

  1. #1
    baba is offline Senior Member
    Join Date
    Dec 2008
    Posts
    123

    Default Site Map Question

    Hi,

    How does storefront SiteMap works? I want to show the site map page, based on the customer level? Is that possible with storefront?

    Thanks
    Baba
    Take Care

    B-A-B-A

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    If you're wanting to show/hide the sitemap page entirely based on customer level, that would take some customization. If you're just wanting to make sure that it only shows the products appropriate for that customer level, it'll do that by default.

  3. #3
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    We use a file in AspDotNetStorefrontCore (source code required) called SiteMapComponentArt to create the sitemap. This calls various methods in the EntityHelper class (also in AspDotNetStorefrontCore) to build the tree. The data used comes from the execution of a stored procedure called aspdnsf_GetSimpleObjectEntityList, which already takes the CustomerLevelID as a parameter. If you have the appconfig FilterProductsByCustomerLevel set to true, this stored procedure will only return the products available for the CustomerLevel of the viewing customer.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>