Magento 2, How to include unsubscribe link in transaction email The Next CEO of Stack OverflowHow to disable the sending of Magento's default Success Email Template upon newsletter sign-upPayment transaction failed -email items -variableHow to add customer name and subscription email in transactional email template of invoice and newsletterMagento add custom attribute to transaction email itemsHow to Add Customer Group Name in Transactional Email (new order) on Magento 1Variable for store locale in email templates? Magento 1.9(Solved) Magento 2, Add product image in all transaction emails(shipment, invoice, credit memo)M2: How to add store address to transactional email / invoice email?Magento 2 - Transactional email templatesNo Unsubscribe message after unsubscribe newsletter Magento 2
Gödel's incompleteness theorems - what are the religious implications?
How to coordinate airplane tickets?
Find the majority element, which appears more than half the time
How to pronounce fünf in 45
How dangerous is XSS
Strange use of "whether ... than ..." in official text
Arrows in tikz Markov chain diagram overlap
Is it correct to say moon starry nights?
Avoiding the "not like other girls" trope?
Why doesn't Shulchan Aruch include the laws of destroying fruit trees?
How badly should I try to prevent a user from XSSing themselves?
How to show a landlord what we have in savings?
What did the word "leisure" mean in late 18th Century usage?
Why did early computer designers eschew integers?
Is a distribution that is normal, but highly skewed, considered Gaussian?
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?
My boss doesn't want me to have a side project
How do I secure a TV wall mount?
Is there a rule of thumb for determining the amount one should accept for a settlement offer?
How can a day be of 24 hours?
Why was Sir Cadogan fired?
How to find if SQL server backup is encrypted with TDE without restoring the backup
Shortening a title without changing its meaning
Magento 2, How to include unsubscribe link in transaction email
The Next CEO of Stack OverflowHow to disable the sending of Magento's default Success Email Template upon newsletter sign-upPayment transaction failed -email items -variableHow to add customer name and subscription email in transactional email template of invoice and newsletterMagento add custom attribute to transaction email itemsHow to Add Customer Group Name in Transactional Email (new order) on Magento 1Variable for store locale in email templates? Magento 1.9(Solved) Magento 2, Add product image in all transaction emails(shipment, invoice, credit memo)M2: How to add store address to transactional email / invoice email?Magento 2 - Transactional email templatesNo Unsubscribe message after unsubscribe newsletter Magento 2
Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2?
I tried utilizing:
<a href="var subscriber.getUnsubscriptionLink()">
var subscriber.getUnsubscriptionLink()
</a>
Which is used in the email newsletter templates but this does not work inside of a transactional email.
magento2 magento-2.1 email transactional-mail
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2?
I tried utilizing:
<a href="var subscriber.getUnsubscriptionLink()">
var subscriber.getUnsubscriptionLink()
</a>
Which is used in the email newsletter templates but this does not work inside of a transactional email.
magento2 magento-2.1 email transactional-mail
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
Create object ofMagentoNewsletterModelSubscriber
& callgetUnsubscriptionLink
function
– Ankit Shah
May 2 '17 at 9:10
add a comment |
Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2?
I tried utilizing:
<a href="var subscriber.getUnsubscriptionLink()">
var subscriber.getUnsubscriptionLink()
</a>
Which is used in the email newsletter templates but this does not work inside of a transactional email.
magento2 magento-2.1 email transactional-mail
Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2?
I tried utilizing:
<a href="var subscriber.getUnsubscriptionLink()">
var subscriber.getUnsubscriptionLink()
</a>
Which is used in the email newsletter templates but this does not work inside of a transactional email.
magento2 magento-2.1 email transactional-mail
magento2 magento-2.1 email transactional-mail
asked May 1 '17 at 17:39
EirikEirik
1,36621434
1,36621434
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
Create object ofMagentoNewsletterModelSubscriber
& callgetUnsubscriptionLink
function
– Ankit Shah
May 2 '17 at 9:10
add a comment |
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
Create object ofMagentoNewsletterModelSubscriber
& callgetUnsubscriptionLink
function
– Ankit Shah
May 2 '17 at 9:10
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
Create object of
MagentoNewsletterModelSubscriber
& call getUnsubscriptionLink
function– Ankit Shah
May 2 '17 at 9:10
Create object of
MagentoNewsletterModelSubscriber
& call getUnsubscriptionLink
function– Ankit Shah
May 2 '17 at 9:10
add a comment |
1 Answer
1
active
oldest
votes
it's working for me.
<a href="var subscriber.getUnsubscriptionLink()">Unsubscribe</a>
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f172514%2fmagento-2-how-to-include-unsubscribe-link-in-transaction-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
it's working for me.
<a href="var subscriber.getUnsubscriptionLink()">Unsubscribe</a>
add a comment |
it's working for me.
<a href="var subscriber.getUnsubscriptionLink()">Unsubscribe</a>
add a comment |
it's working for me.
<a href="var subscriber.getUnsubscriptionLink()">Unsubscribe</a>
it's working for me.
<a href="var subscriber.getUnsubscriptionLink()">Unsubscribe</a>
answered Feb 26 at 6:50
Nangyial AhmadNangyial Ahmad
313
313
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f172514%2fmagento-2-how-to-include-unsubscribe-link-in-transaction-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is this new order email?
– Konstantin Gerasimov
May 2 '17 at 1:24
No, I'm trying to include an unsubscribe link inside the subscription confirmation email to keep a client compliant in their country's electronic communication laws. Something along the lines of "You can unsubscribe at anytime using the following link".
– Eirik
May 2 '17 at 3:36
Create object of
MagentoNewsletterModelSubscriber
& callgetUnsubscriptionLink
function– Ankit Shah
May 2 '17 at 9:10