You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cancelling a membership level the reason for cancellation is not included in the email template if the site language is set to any locale for which PMPro core has translated email templates available under languages/email/
as the text replacement code only checks for the default English string and not strings for other locales.
We should consider checking the string that the reason is added to for each locale for which a translated email template set is available.
Steps to reproduce:
Set site language to French under Settings > General
On the Membership Account page, select to cancel active membership.
Fill in the reason for cancellation and submit.
Check the "cancel" email sent to the user and site administrator.
It looks like there is code in the current version to find a "variable" like !!reason!! and replace that. I think this is the fall back if it can't find the string to append to.
When cancelling a membership level the reason for cancellation is not included in the email template if the site language is set to any locale for which PMPro core has translated email templates available under
languages/email/
as the text replacement code only checks for the default English string and not strings for other locales.
We should consider checking the string that the reason is added to for each locale for which a translated email template set is available.
Steps to reproduce:
Alternatives:
Can use a customization recipe that checks per language locale, e.g https://gist.github.com/ipokkel/f6a4e868919b038401d601bfc0e35c98
Admin Only:
Ticket - https://www.paidmembershipspro.com/forums/topic/reason-for-cancelling-addon/
The text was updated successfully, but these errors were encountered: