How to customize wishlist email recipient?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
bemara579
Lieutenant (LT)
Lieutenant (LT)
Posts: 63
Joined: Thu Feb 19, 2009 6:15 pm

How to customize wishlist email recipient?

Post by bemara579 » Tue Apr 14, 2009 2:21 pm

Is there a way to customize the email recipient of where the wishlist is sent to?

Right now when a user wants to send their wishlist, it is automatically populating with info@mydomain.com in the wishlist form. I want to change it to quote@mydomain.com. Is there a proper way to do this?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to customize wishlist email recipient?

Post by mazhar » Wed Apr 15, 2009 9:48 am

Edit Website/ConLib/SendWishlistPage.ascx.cs file and locate following function

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = user.Email;
        SendTo.Tex
        Message.Text = GetMessage();
    }
if you want to change from address

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = "qoute@mydomain.com";
        Message.Text = GetMessage();
    }
if you want to change to address then it would be something like

Code: Select all

private void InitSendWishlistForm()
    {
        User user = Token.Instance.User;
        FromAddress.Text = user.Email;
        SendTo.Text = "qoute@mydomain.com";
        Message.Text = GetMessage();
    }

Post Reply