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: How do I send an additional email based on customer level?

  1. #1
    schapman is offline Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Default How do I send an additional email based on customer level?

    Hi. I want to set up my storefront to send an additional email when a customer of a certain customer level places an order.

    Since the customer level receives extended pricing, this could be in the form of an email whenever certain product variants are bought.

    Is this possible?

  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 nothing built in to send extra emails depending on customer level, however this could be done with just a little custom work.

    The easiest way would probably just be to add an 'if' to orderconfirmation.aspx.cs:

    Code:
    If (ThisCustomer.CustomerLevelID = ###)
    {
        AppLogic.Sendmail( .... )
    }
    You can check out the other Sendmail references in the code for exactly how to format that.

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

    Default

    Thanks for the quick response!

    Would modifying the codebehind files require purchase of source code for the ML/64 version?

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

    Default

    Not for codebehind files, no. You get access to those with the basic license purchase in ML/64.