Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Order Emails To Multiple Accounts

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-19-2015, 02:33 PM
 
cleverwise cleverwise is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 74
 

Default Order Emails To Multiple Accounts

Hello Community,

I was wondering if anyone has an easy hack for sending the order email to multiple email addresses. Yes I know about setting a filter on the email server and duplicating the email that way. However...

In shopping carts I have used in the past they have allowed an admin to enter multiple email addresses into the order email area so the application would send out the copies.

Thanks!

Jeremy
__________________
Respectfully,

Jeremy

X-Cart 5.3 running on:
* Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled)
* Database: Percona Server
* OS: CentOS
Reply With Quote
  #2  
Old 11-19-2015, 04:55 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Order Emails To Multiple Accounts

You can easily hard code it into func.order.php.

If you need to add some config options to set these values, they can be inserted/stored in the xcart_config table.

Another idea is to use the notify provider function. If one person has created all the products, their email address will be set as the provider.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 11-19-2015, 05:12 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Order Emails To Multiple Accounts

This is for XC5
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (11-20-2015)
  #4  
Old 11-19-2015, 08:07 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Order Emails To Multiple Accounts

Another option is to setup an email address on your server which forwards to multiple other email addresses.
Reply With Quote
  #5  
Old 11-20-2015, 05:34 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Order Emails To Multiple Accounts

Quote:
Originally Posted by cflsystems
This is for XC5
Ugh, then it is going to be way harder. I keep doing this.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #6  
Old 11-20-2015, 07:45 AM
 
cleverwise cleverwise is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 74
 

Default Re: Order Emails To Multiple Accounts

@Jon: Yeah I know the email server can do it but again I was trying to do it at the application level. It is to bad XCart doesn't allow us to just put a comma and another address on ANY of the emails fields.
__________________
Respectfully,

Jeremy

X-Cart 5.3 running on:
* Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled)
* Database: Percona Server
* OS: CentOS
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:42 PM.

   

 
X-Cart forums © 2001-2020