We are using Magento 2.4.0.

We override email templates of "Subscription Success" and we add a link to "Unsubscribe" but all these 4 are not working -

{{var subscriber.getUnsubscriptionLink()}}

{{var subscriber_data.getUnsubscriptionLink()}}

{{var subscriber_data.unsubscribe_link}}

{{var subscriber.unsubscribe_link}}

Also we follow this code - https://github.com/magento/magento2/pull/33753/commits/dfe2a283b227f20730ecef7a605c8cfd3f1e1897

Still not working.

Is anyone aware about this ?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.