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

How to add customers to an outside newsletter when ordering

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-04-2006, 10:07 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default How to add customers to an outside newsletter when ordering

Hi,

I just signed up to do newsletters with an outside service (I'm very proud--I figured out how to put the sign up box on my pages all by myself )

Anyway, I'd like to have the option to join the newsletter be on the ordering page, as well. But, I figure having two forms run at the same time will be difficult. What I'd like to do is have the user's name and email be inputted into hidden form elements, and then find a way to submit the form when the order is submitted. If I can't do that, I can always put the sign up form on the page after the order has been placed, though I'd prefer not to (is there a way to import the person's data at that point, so they still just have to hit one button?)

Anyway, here's the code for the box:

Code:
<form action="http://sub.ezinedirector.net/index.cfm" method="post" target="_blank"> <input checked="checked" name="fuseaction" style="vertical-align: middle;" type="radio" value="s" /> Subscribe <input name="fuseaction" style="vertical-align: middle;" type="radio" value="r" /> Unsubscribe <span style="font-family: Verdana, Arial, Helvetica, sans-serif;"> MCM News and Special Offers <input checked="checked" name="EzineID" style="vertical-align: middle;" type="checkbox" value="964693600" /> </span> <input maxlength="255" name="email" onFocus="value=''" style="width: 10em;" type="text" value="Enter Email" /> <input maxlength="50" name="firstname" onFocus="value=''" style="width: 10em;" type="text" value="First Name" /> <input maxlength="50" name="lastname" onFocus="value=''" style="width: 10em;" type="text" value="Last Name" /> <br clear="all" /> <input name="submit" type="submit" value=" Subscribe! " /> </form>


If you have any insight, please let me know!

Thanks,

Jeremy
__________________
Version 4.0.17/4.0.18
Reply With Quote
  #2  
Old 07-05-2006, 03:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is a tough one, as you really can't combine two forms. You really need to have the form on another page, or you can also just export the X-Cart newsletter list once a week or so to your external newsletter program.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-13-2008, 05:17 AM
 
c.vogels c.vogels is offline
 

Member
  
Join Date: Sep 2006
Posts: 18
 

Default Re: How to add customers to an outside newsletter when ordering

I need exactly the same, we are using an external email campaign application to send e-mails. This because we can track and trace everything.

Is there someone who has some experience with external email campaign software in combination with x-cart?
__________________
x-cart 4.1.10 gold
Reply With Quote
  #4  
Old 05-13-2008, 05:21 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: How to add customers to an outside newsletter when ordering

I usually just put the sign-up box for the third party newsletter module on the side menu or the header.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 10:41 AM.

   

 
X-Cart forums © 2001-2020