First Reminder Email Body: [PLAN_DURATION] renders as 12 OSM_Months

  • Stephen M
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 hours 7 minutes ago #178221 by Stephen M
This looks like a minor bug in the email template or template tag substitution.

For a subscription configured with a duration of 12 Months, the First Reminder Email Body template generates "12 OSM_Months" as replacement text for the [PLAN_DURATION] placeholder tag.

MP Version 4.5.1

Possibly related: Note that PLAN_DURATION is listed twice in the available tags in Message Manager: Edit Message

Available Tags:
[PLAN_SHORT_DESCRIPTION]
[PLAN_DESCRIPTION]
[PLAN_ID]
[PLAN_TITLE]
[PLAN_ALIAS]
[PLAN_PRICE]
[PLAN_DURATION]
[PLAN_DURATION]

[CATEGORY]
[PLAN_URL]


 

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 hours 54 minutes ago #178222 by Tuan Pham Ngoc
Hi Stephen

Look like it happens because the reminder email was triggered from administrator area of your site (which language item is not available)

Did you setup webhook as described at docs.joomdonation.com/membershippro/basi...eminder#use-cron-job to trigger reminder instead of having it triggered by random visitors on your site?

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Stephen M
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 hours 34 minutes ago #178223 by Stephen M
Yes, triggered by site visits, not cron.
We are testing our MP rollout in a non-production site, I have not implemented the cron task in this environment, I was planning to implement it when we deploy to production.

This is not a critical issue, the impact is just potential customer confusion. I was hoping to get a quick fix before we go live.
If using the cron job to trigger the emails will resolve this then that's good news. :-)

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 hour ago #178224 by Tuan Pham Ngoc
Yes. Use cron job will solve the issue and it will also make sending reminder process more reliable

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc