• Resolved torasan

    (@torasan)


    Hello,

    Regarding the “Email Settings (Subscription Payment Cancelled or Expired)” item in the email settings,
    is there a way to customize the text of the email sent to notify the administrator?

    The relevant part is lines 477 to 483 in simple-membership/ipn/swpm_handle_subsc_ipn.php,
    but can it be overridden in function.php?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us. I think your best option is to try and use custom CSS code to override the font type, assuming this is what you are trying to achieve.

    Currently the following class and id should be able to be used to customize the font size.

    class=”mce-content-body subscription-cancel-member-mail-body”, data-id=”subscription-cancel-member-mail-body” and id=”tinymce”

    Let me know if the above helps you in any way.

    Kind regards.

    Thread Starter torasan

    (@torasan)

    Sorry, It seems my question was poorly phrased..

    What I wanted to ask was, “Is it possible to change the wording of the email sent to administrators when a member cancels?”

    Currently, when a member cancels, an email is sent to the administrator in the following format, but is it possible to change this text?

    「subject:A subscription payment agreement has been canceled or expired
    email body:Dear Admin .
    A subscription payment agreement has been canceled or has expired. .
    Subscription ID: {subscription_id
    Member ID: {member_id}
    You can view more details in the Payments menu of the plugin.」

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for clarifying further what you want to edit. Unfortunately at present we don’t have a feature in the plugins settings that allows you to customize that message. So, your best option is to edit the php file you mentioned above with your own text. Just remember that you will loose your customized text when you update the plugin. So make sure you keep a copy of the file somewhere in your computer.

    Also, the line where you start editing the message sent to admin is line 427.

    Let me know if you need more information.

    Kind regards.

    • This reply was modified 1 year, 5 months ago by mbrsolution.
    Thread Starter torasan

    (@torasan)

    Thank you for your answer.

    It’s a bit disappointing that the only option is to edit the php file directly…

    It’s a really good plugin, so I hope it will have customization features in the near future.

    I have one more question.

    The text you enter in the button_text field of the “Payment Button” shortcode is the same as the member-level name displayed in the Cancel button shortcode.

    Is it possible to display the name I set at the member level as is?

    For example, if you set up the following,

    [swpm_payment_button id=“7” button_text = “Buy ABC plan”]

    When I use [swpm_show_subscriptions_and_cancel_link],
    the member level name that appears under Subscription
    is displayed as “Buy ABC plan”
    I would like this to be the name I set at the member level.

    Plugin Support mbrsolution

    (@mbrsolution)

    It’s a really good plugin, so I hope it will have customization features in the near future.

    I have submitted a message to the developers to investigate further both of your request.

    Kind regards.

    Thread Starter torasan

    (@torasan)

    I have submitted a message to the developers to investigate further both of your request.

    I am Very grateful.

    ※It was a misunderstanding on my part about the “Payment Button.”
    You don’t need any support.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Notification to administrators when a member cancels’ is closed to new replies.