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)
-   -   How to add customers to an outside newsletter when ordering (https://forum.x-cart.com/showthread.php?t=23011)

MCM 07-04-2006 10:07 PM

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 8) )

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

balinor 07-05-2006 03:34 AM

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.

c.vogels 05-13-2008 05:17 AM

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?

balinor 05-13-2008 05:21 AM

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.


All times are GMT -8. The time now is 10:40 AM.

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