Skip to main content
edited body
Source Link
mrcl
  • 37
  • 5

I would like to make it possible to unsubscribe however with the arrival of an email about the success of the newsletter signup. But the problem I encountered is that I don't have access to the getUnsubscriptionLink method there. Someone direct me how I can do this?

ThatThis code doesn't work

<p class="center">
{{trans "At %store_name, we care about your privacy. If you do not want to receive notifications about new offers <a href="%unsubscribe_link"> click here</a>." store_name=$store.getFrontendName() unsubscribe_link=$subscriber.getUnsubscriptionLink() |raw}}
</p>

I would like to make it possible to unsubscribe however with the arrival of an email about the success of the newsletter signup. But the problem I encountered is that I don't have access to the getUnsubscriptionLink method there. Someone direct me how I can do this?

That code doesn't work

<p class="center">
{{trans "At %store_name, we care about your privacy. If you do not want to receive notifications about new offers <a href="%unsubscribe_link"> click here</a>." store_name=$store.getFrontendName() unsubscribe_link=$subscriber.getUnsubscriptionLink() |raw}}
</p>

I would like to make it possible to unsubscribe however with the arrival of an email about the success of the newsletter signup. But the problem I encountered is that I don't have access to the getUnsubscriptionLink method there. Someone direct me how I can do this?

This code doesn't work

<p class="center">
{{trans "At %store_name, we care about your privacy. If you do not want to receive notifications about new offers <a href="%unsubscribe_link"> click here</a>." store_name=$store.getFrontendName() unsubscribe_link=$subscriber.getUnsubscriptionLink() |raw}}
</p>
Source Link
mrcl
  • 37
  • 5

Passing the getUnsubscriptionLink method to the Newsletter Subscription Success Email

I would like to make it possible to unsubscribe however with the arrival of an email about the success of the newsletter signup. But the problem I encountered is that I don't have access to the getUnsubscriptionLink method there. Someone direct me how I can do this?

That code doesn't work

<p class="center">
{{trans "At %store_name, we care about your privacy. If you do not want to receive notifications about new offers <a href="%unsubscribe_link"> click here</a>." store_name=$store.getFrontendName() unsubscribe_link=$subscriber.getUnsubscriptionLink() |raw}}
</p>