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

contact form add email to newsletter?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-02-2004, 08:15 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default 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.
Reply With Quote
  #2  
Old 01-02-2004, 09:53 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default 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.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #3  
Old 01-03-2004, 01:33 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default 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.
Reply With Quote
  #4  
Old 01-03-2004, 08:56 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default 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.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #5  
Old 01-04-2004, 12:58 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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.
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 01-04-2004, 05:53 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default sweet

I knew it could be done, Thanks Funkydunk, I'll test it out, should have mentioned i'm using 3.5.2
Reply With Quote
  #7  
Old 01-04-2004, 08:51 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Nice and easy hack, thanx.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #8  
Old 01-20-2004, 03:11 AM
  DataViking's Avatar 
DataViking DataViking is offline
 

eXpert
  
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 361
 

Default

Thanks i'm going to try it
__________________
Web Design Web Design and Custom X-Cart Projects

http://www.dataviking.com

Mention the forums for discounts!
x-cart Version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 12:02 PM.

   

 
X-Cart forums © 2001-2020