Magento 2, How to include unsubscribe link in transaction emailHow 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
How did the Super Star Destroyer Executor get destroyed exactly?
Why doesn't using multiple commands with a || or && conditional work?
Is it logically or scientifically possible to artificially send energy to the body?
What about the virus in 12 Monkeys?
Why didn't Boeing produce its own regional jet?
How dangerous is XSS?
What's the in-universe reasoning behind sorcerers needing material components?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
What mechanic is there to disable a threat instead of killing it?
Intersection Puzzle
Avoiding direct proof while writing proof by induction
One verb to replace 'be a member of' a club
Should I tell management that I intend to leave due to bad software development practices?
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?
Unlock My Phone! February 2018
What is a romance in Latin?
How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)
How do I know where to place holes on an instrument?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Im going to France and my passport expires June 19th
How badly should I try to prevent a user from XSSing themselves?
Plagiarism or not?
How much of data wrangling is a data scientist's job?
Magento 2, How to include unsubscribe link in transaction email
How 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♦ 2 days 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♦ 2 days 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♦ 2 days 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♦ 2 days 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 |
Your Answer
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