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

Thread: Editing Orders through Admin

  1. #1
    toofast is offline Senior Member
    Join Date
    Dec 2005
    Location
    Cherry Hill, NJ, USA
    Posts
    239

    Default Editing Orders through Admin

    When we edit Orders through the admin is it possible to not have the customer automatically emailed when it voids out the original order. Its seriously a huge headache dealing with these people emailing or calling asking why there order was voided.

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

    Default

    If you have the source code, you could comment out the following line under the AspDotNetStorefrontGateways.Gateway.OrderManagemen t_DoVoid method:
    Code:
    AppLogic.SendMail("Order Was Voided", AppLogic.RunXmlPackage(AppLogic.AppConfig("XmlPackage.OrderCanceledEmail"), null, null, 1, "", "ordernumber=" + ord.OrderNumber.ToString(), false, false), true, AppLogic.AppConfig("MailMe_FromAddress"), AppLogic.AppConfig("MailMe_FromName"), c.EMail, c.FullName(), "", AppLogic.MailServer());
    and that's it, Void Order email notification is no longer active...

  3. #3
    toofast is offline Senior Member
    Join Date
    Dec 2005
    Location
    Cherry Hill, NJ, USA
    Posts
    239

    Default

    thanks, i don't have source code though. any other ideas?

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

    Default

    No other way to disable that without the source.

  5. #5
    toofast is offline Senior Member
    Join Date
    Dec 2005
    Location
    Cherry Hill, NJ, USA
    Posts
    239

    Default

    is there a way to at least change the email notification that gets sent to customers?

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

    Default

    Yep. Open up the notification.ordercanceled.xml.config under XMLPACKAGES folder, you should be able to change it there.

  7. #7
    toofast is offline Senior Member
    Join Date
    Dec 2005
    Location
    Cherry Hill, NJ, USA
    Posts
    239

    Default

    What file contains the AspDotNetStorefrontGateways.Gateway.OrderManagemen t_DoVoid method?

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

    Default

    You're only going to have that if you have the source code. AspDotNetStorefrontGateways project, Gateways class, OrderManagement_DoVoid method.