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

Thread: Not showing member price for product without discount

  1. #1
    Jan is offline Junior Member
    Join Date
    Apr 2010
    Posts
    11

    Default Not showing member price for product without discount

    We have our store setup with a member system who in general receive 10% discount. There is one group of product for which we do not want to have a discount which we set through the 'Define Extended Prices' in the variant of the product. On the product page, it now show the both regular price and membership price, being the same. Is there a way to get rid of the membership price line on these pages? Thanks.

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

    Default

    There's not any way to do this without source code, as the whole price display is generated in one method and put on the page all at once. If you have source code, that would be a pretty small mod in XSLTExtensionBase.cs

  3. #3
    Jan is offline Junior Member
    Join Date
    Apr 2010
    Posts
    11

    Default

    I got the code, I don't have any ASP knowledge though. Could anyone write me a snippet of code I can use for this?

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

    Default

    You would just need to add in some additional logic that checks to see if the extended price is the same as the regular price, and not display anything if it is. Look for the comment "handle discounted customerLevels" in the XSLTExtensionBase class.