How do I edit: a) the admin meeting email cancellation

How do I edit:
a) the admin meeting email cancellation email you get?
b) the customer email cancellation email they get?
c) When I use the shortcode "SERVICE_PROVIDER" it replaces it with "Our staff" when it should replace it with the specific persons name who the meeting is assigned to. i.e "Alex" . Also - how do I edit the case of "Our staff" as its very difficult to use this shortcode with the upper and lower case!
d) You need to update your instructions for setting up Google calendar. They are for the old layout which is gone. Please advise on how to do it for the new API layout.

  • Alexander

    a) the admin meeting email cancellation email you get?
    b) the customer email cancellation email they get?

    The best way to change this would be to create a custom translation for the plugin and use whatever terminology you like. This isn't something there are settings for. Here's some info on translating: http://codex.wordpress.org/Translating_WordPress#Translating_With_Poedit

    This can also be changed in the code. If you'd like to go this route, the function you need to edit is called "send_notification" and can be found on line 4705 of appointments.php

    c) When I use the shortcode "SERVICE_PROVIDER" it replaces it with "Our staff" when it should replace it with the specific persons name who the meeting is assigned to. i.e "Alex" . Also - how do I edit the case of "Our staff" as its very difficult to use this shortcode with the upper and lower case!

    This isn't always the case, it should bring in there name. Do you have any examples of where you're seeing it isn't? The "Our staff" is a default used when a service provider isn't assigned. You can change this text with a filter like this:

    add_filter('app_get_worker_name','change_worker_name_callback',10,2);
    
    function change_worker_name_callback($user_name, $worker) {
        if($user_name=='Our staff')
            $user_name = 'one of our specialists';
    
        return $user_name;
    }

    You can place this code in functions.php of a theme (or Child Theme), in your own plugin, or using something like Code Snippets.

    d) You need to update your instructions for setting up Google calendar. They are for the old layout which is gone. Please advise on how to do it for the new API layout.

    I'm sorry about that. I'll take a look at this and let you know what I come up with.

    Let me know how it goes with the other issues in the meantime.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.