X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Order Emails To Multiple Accounts (https://forum.x-cart.com/showthread.php?t=73112)

cleverwise 11-19-2015 02:33 PM

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

totaltec 11-19-2015 04:55 PM

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.

cflsystems 11-19-2015 05:12 PM

Re: Order Emails To Multiple Accounts
 
This is for XC5

Jon 11-19-2015 08:07 PM

Re: Order Emails To Multiple Accounts
 
Another option is to setup an email address on your server which forwards to multiple other email addresses.

totaltec 11-20-2015 05:34 AM

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.

cleverwise 11-20-2015 07:45 AM

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.


All times are GMT -8. The time now is 11:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.