X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   stop newsletter subscription to admin (https://forum.x-cart.com/showthread.php?t=3983)

cotc2001 08-14-2003 06:05 AM

stop newsletter subscription to admin
 
Hi does anyone know what line to comment out in the func.php to stop the admin of the site getting a subscription confirmation when someone subscribers to the newsletter???

using x-cart 3.3.3

cotc2001 08-14-2003 06:50 AM

please ignore the above, I think I found it.

shan 08-15-2003 03:33 AM

it would help others to post your findings

cotc2001 08-15-2003 03:39 AM

Yup agreed, sorry normally would but I was in a rush.

the way to do it was in the mail/ folder open up subscribe.php and look for the line that starts:

# Send mail notification to admin
#
func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true);


comment out the func_send by placing a # in front of it and then do the same with unsubscribe.php so it look like this:

#func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true);


that was it, this is using 3.3.3 so I don't know if it the same for other versions (can someone confirm that it is?)

cotc2001 08-16-2003 05:16 AM

Im still having a problem though with the shop sending out emails to the adminstrator/provider when changing the order status of a customer, if anyone knows which line to comment out in what file PLEASE let me know.

at the moment if I change the order status of a order from proccessed it sends an email to both the customer (good) and to the adminstrator (bad), there is no need for the adminstrator to get an email coz I don't need an email telling me something that I just did myself...

using x-cart 3.3.3


All times are GMT -8. The time now is 08:53 AM.

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