Unsubscribe for newsletter
-
- Lieutenant (LT)
- Posts: 80
- Joined: Fri Sep 19, 2008 11:39 am
Unsubscribe for newsletter
I am planning to send a newsletter out using ablecommerce - terrible at programming -wondering if someone can help me with the code i need to add at the bottom of the newsletter for someone to unsubscribe to the newsletter. thanks,
Re: Unsubscribe for newsletter
Just put a link to the MyAccount page at the bottom. Customer willing to unsubscribe the news letter can then update their communication preferences in that page.
Code: Select all
<a href="${store.StoreUrl}Members/MyAccount.aspx">Unsubscribe</a>
-
- Lieutenant (LT)
- Posts: 80
- Joined: Fri Sep 19, 2008 11:39 am
Re: Unsubscribe for newsletter
thank you so much!
-
- Commodore (COMO)
- Posts: 433
- Joined: Wed May 28, 2008 9:42 am
- Location: Concord, NC
- Contact:
Re: Unsubscribe for newsletter
I so needed this!
Adding it into our template.
Thanks guys!
Adding it into our template.
Thanks guys!
Re: Unsubscribe for newsletter
Found this in another thread, I personally like this solution better.
Code: Select all
Nobody likes unwanted email. If you would like to be instantly removed from our mailing list, just click <a href="${store.StoreUrl}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${customer.email}">here</a> and we'll process your request immediately.
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
Hi,
I tried the last solution suggested for the opt-out link but the subscription page showed this error message:
"The subscription request was not understood or the provided parameters are incorrect. " the url created was this:
"http://store.samplestore.com/Subscripti ... @email.com"
I tried the last solution suggested for the opt-out link but the subscription page showed this error message:
"The subscription request was not understood or the provided parameters are incorrect. " the url created was this:
"http://store.samplestore.com/Subscripti ... @email.com"
Re: Unsubscribe for newsletter
Try following
Code: Select all
<a href="${store.StoreUrl}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${customer.Email}">here</a>
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
Hi,
I gave that a try but I still see the same error when I click on the link and it created the same url:
The subscription request was not understood or the provided parameters are incorrect. " the url created was this:
"http://store.samplestore.com/Subscripti ... @email.com"
I gave that a try but I still see the same error when I click on the link and it created the same url:
The subscription request was not understood or the provided parameters are incorrect. " the url created was this:
"http://store.samplestore.com/Subscripti ... @email.com"
Re: Unsubscribe for newsletter
Can you provide the name of Email template you are using in this case ?
Re: Unsubscribe for newsletter
In 7.0.5 there is a new nVelocity script variable that builds the complete unsubscribe URL for you so you don't have to construct it manually.
Just put this at the bottom of the your message....
or
Just put this at the bottom of the your message....
Code: Select all
$unsubscribeLink
Code: Select all
${unsubscribeLink}
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
Hi, I put that in the email body, yes? It does not produce a link, just shows that text. In reference to the prior question, what template, this is just a basic contact email for marketing purposes. Do I need to update something else so my system knows that new script variable exists?
Re: Unsubscribe for newsletter
What version of AbleCommerce are you running? The unsubscribe variable is only available in 7.0.5. Otherwise you have to build one manually.
Plus, I had to edit the subscribe user control to let the manual link work but that may have been because I'm on 7.0.5.
Plus, I had to edit the subscribe user control to let the manual link work but that may have been because I'm on 7.0.5.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
I'm on 7.5 as well. I'm not a programmer but if you could briefly describe how/where to edit the subscribe user control? Thanks!
Re: Unsubscribe for newsletter
I didn't have to make any changes to get the link to show. Let's start there.
Copy/paste your whole email template to here and let's take a look at it together.
Copy/paste your whole email template to here and let's take a look at it together.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
I'm sure it's something lame I've done <g> but here it is
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Thank you for visiting MyWebStore</title>
</head>
<body>
<table border="1" width="66%" id="table1" cellspacing="0" cellpadding="0" style="border-style: dashed; border-width: 1px" bordercolor="#C1C1A4">
<tr>
<td width="357" bgcolor="#C1C1A4">
<p align="center"><font size="2">Thank you for visiting
Mywebstore.com and signing up for our product specials announcements</font>.
<br>
</td>
<td rowspan="2" bgcolor="#000000">
<p align="center"><font size="7" color="#FFFFFF">$10 off <br>
</font><font color="#FFFFFF" size="4">(that is a 20% savings based on a
$50.00 order)<br>
on any order of $50.00 or more</font></p>
<p align="center"><font size="4" color="#FFFFFF">Use Code: SEP10</font></p>
<p align="center"><font size="4" color="#FFFFFF">MYWEBSTORE.COM</font></td>
</tr>
<tr>
<td width="357" bordercolor="#FFFFFF">This is the first of our product
announcements and we wanted to let you know you'll always be the first
to know about new product arrivals and special savings offers. <br>
<br>
For 2 days only you can get $10.00 off any order of $50.00 or more.
The offer is good for any products in our online store. This offer
begins September 1 and ends at midnight CST September 2, 2010.<p align="center">
Thanks again for visiting Mywebstore.com<br>
<br>
<a href="http://store.mywebstore.com/">Shop Now..</a></p>
<p>${unsubscribeLink}</p>
<p> </td>
</tr>
</table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Thank you for visiting MyWebStore</title>
</head>
<body>
<table border="1" width="66%" id="table1" cellspacing="0" cellpadding="0" style="border-style: dashed; border-width: 1px" bordercolor="#C1C1A4">
<tr>
<td width="357" bgcolor="#C1C1A4">
<p align="center"><font size="2">Thank you for visiting
Mywebstore.com and signing up for our product specials announcements</font>.
<br>
</td>
<td rowspan="2" bgcolor="#000000">
<p align="center"><font size="7" color="#FFFFFF">$10 off <br>
</font><font color="#FFFFFF" size="4">(that is a 20% savings based on a
$50.00 order)<br>
on any order of $50.00 or more</font></p>
<p align="center"><font size="4" color="#FFFFFF">Use Code: SEP10</font></p>
<p align="center"><font size="4" color="#FFFFFF">MYWEBSTORE.COM</font></td>
</tr>
<tr>
<td width="357" bordercolor="#FFFFFF">This is the first of our product
announcements and we wanted to let you know you'll always be the first
to know about new product arrivals and special savings offers. <br>
<br>
For 2 days only you can get $10.00 off any order of $50.00 or more.
The offer is good for any products in our online store. This offer
begins September 1 and ends at midnight CST September 2, 2010.<p align="center">
Thanks again for visiting Mywebstore.com<br>
<br>
<a href="http://store.mywebstore.com/">Shop Now..</a></p>
<p>${unsubscribeLink}</p>
<p> </td>
</tr>
</table>
</body>
</html>
Re: Unsubscribe for newsletter
Well if you are on 7.0.5 then it should work. locate following code statement in your template
and update it as below
Code: Select all
<p>${unsubscribeLink}</p>
Code: Select all
<p><a href="${unsubscribeLink}">${unsubscribeLink}</a></p>
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
Hi,
That didnt work at all. First it nows shows like this on the mailer:
${unsubscribeLink} <<-- that actually shows on th emailing piece.
That didnt work at all. First it nows shows like this on the mailer:
${unsubscribeLink} <<-- that actually shows on th emailing piece.
Re: Unsubscribe for newsletter
Please go to merchant side and then open Help -> About AbleCommerce page. Finally post the contents of text box that you will see on page here.
-
- Commander (CMDR)
- Posts: 139
- Joined: Wed Mar 31, 2010 8:59 pm
Re: Unsubscribe for newsletter
AbleCommerce for ASP.NET
VERSION: 7.0.5.14053
MSSQL v2005
AC SCHEMA v2005
ASP.NET TRUST: Unrestricted
AjaxControlToolkit: 3.0.20229.20843
CommerceBuilder: 7.5.14053.0
CommerceBuilder.AbleCommerceTax: 7.4.13043.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.3.12625.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.5.14053.0
CommerceBuilder.CyberSource: 7.5.13718.0
CommerceBuilder.Data: 7.5.14053.0
CommerceBuilder.DataClient.Api: 7.5.14053.0
CommerceBuilder.DataClient.Csv: 1.0.0.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.3.12468.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.3.12625.0
CommerceBuilder.PaymentechOrbital: 7.5.14028.0
CommerceBuilder.PayPal: 7.4.13453.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.5.14053.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.4.13441.0
CommerceBuilder.WATax: 7.5.13942.0
CommerceBuilder.Web: 7.5.14053.0
ComponentArt.Web.UI: 2008.2.1267.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
DataPort.Framework: 7.4.221.0
FredCK.FCKeditorV2: 2.5.2912.21007
GourmetSleuth.AbleCommerce: 1.0.0.0
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0
VERSION: 7.0.5.14053
MSSQL v2005
AC SCHEMA v2005
ASP.NET TRUST: Unrestricted
AjaxControlToolkit: 3.0.20229.20843
CommerceBuilder: 7.5.14053.0
CommerceBuilder.AbleCommerceTax: 7.4.13043.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.3.12625.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.5.14053.0
CommerceBuilder.CyberSource: 7.5.13718.0
CommerceBuilder.Data: 7.5.14053.0
CommerceBuilder.DataClient.Api: 7.5.14053.0
CommerceBuilder.DataClient.Csv: 1.0.0.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.3.12468.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.3.12625.0
CommerceBuilder.PaymentechOrbital: 7.5.14028.0
CommerceBuilder.PayPal: 7.4.13453.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.5.14053.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.4.13441.0
CommerceBuilder.WATax: 7.5.13942.0
CommerceBuilder.Web: 7.5.14053.0
ComponentArt.Web.UI: 2008.2.1267.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
DataPort.Framework: 7.4.221.0
FredCK.FCKeditorV2: 2.5.2912.21007
GourmetSleuth.AbleCommerce: 1.0.0.0
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0
Re: Unsubscribe for newsletter
That's strange. It should work in 7.0.5. BTW give a try by creating an Email list of type with confirmation. Then subscribe that Email list using some account with valid Email address. After subscription system will trigger a notification to your Email address confirm that this Email contains unsubscribe link.
Re: Unsubscribe for newsletter
Make sure that the email template is set to be triggered on a subscribe/unsubscribe event. If email is being triggered for some other even then these links will not be available.