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)
-   -   contact form add email to newsletter? (https://forum.x-cart.com/showthread.php?t=5828)

snorocket 01-02-2004 08:15 PM

contact form add email to newsletter?
 
Is it possible for when a customer sends an email through the xcart contact us form to have their email address automatically subscribed to the newsletter? We get alot of emails and it gets very tedious sifting through the outlook box and adding them manually to the newsletter, I've been using Groovys MM to add them manually though an automatic process would be so much better, I'm all about less work and more money.

leon 01-02-2004 09:53 PM

Re: contact form add email to newsletter?
 
Quote:

Originally Posted by snorocket
I'm all about less work and more money.


I agree with that.

Do consider although, that if somebody tries to contact you, it is just that, if you forcely subscribe that person you are violating your own privacy practices IMO.

Just think... have you ever contacted a website for specific information, just to be included in their mailing list that you are not interested in ?

A turnaround solution for this could be adding to an autoresponder a link to subscribe as well to your newsletters, cordially inviting your contact, something like: "Did you know that with our newsletter you can receive updates and information instantly in your email box when new items and services are available?...... SUBSCRIBE HERE [link to subscribe]"

Just an opinion with a possible solution. :wink:

snorocket 01-03-2004 01:33 PM

yea but
 
yea but a privacy practice is whatever a company wants it to be, if they don't like the newsletter they can click on un-subscribe. Even if they do choose to un-subscribe from a newsletter i'll still send them sales flyers.

leon 01-03-2004 08:56 PM

Re: yea but
 
Quote:

Originally Posted by snorocket
yea but a privacy practice is whatever a company wants it to be, if they don't like the newsletter they can click on un-subscribe. Even if they do choose to un-subscribe from a newsletter i'll still send them sales flyers.


You got me on that, you are absolutely right. If you have that stipulated on your Terms and conditions of use, and /or Privacy Statement, then the user or submitter knows what he /she is into.

On the other hand, I think that the new MM groovico is working on that you mentioned probably already has that option available, send a pm or ask him for a quote, he really knows what he is doing, might not be so hard if you already purchased the product. :wink:

funkydunk 01-04-2004 12:58 AM

add in:

Code:

$email = $contact["email"];

$mailcnt = array_pop( func_query_first("select count(*) from $sql_tbl[maillist] where email='$email'") );

if( empty($mailcnt) ){
db_query("insert into $sql_tbl[maillist] (email, since_date) values ('$email','".time()."')");
}


to include/help.php right before where it says:

func_header_location("help.php?section=contactus") ;

It will then add them to the newsletter mailing list.

snorocket 01-04-2004 05:53 PM

sweet
 
I knew it could be done, Thanks Funkydunk, I'll test it out, should have mentioned i'm using 3.5.2

leon 01-04-2004 08:51 PM

Nice and easy hack, thanx.

DataViking 01-20-2004 03:11 AM

Thanks i'm going to try it


All times are GMT -8. The time now is 12:24 AM.

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