Manually send notification throught booking page

  • This topic has 2 replies, 2 voices, and was last updated 6 days, 3 hours ago by Mickael Quirin.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1374943
    Mickael Quirin
    Participant

    Sometimes My mails are not received by my customer, or I need to resend them.
    Since there are no option to manually send the notification mail I added it myself.

    View post on imgur.com

    If you’re willing to add it, you can find the files here (version 4.4.4): https://drive.google.com/drive/folders/12FIt7jVlc0o8PEzw1B5UgiaDwt7B_Jn_?usp=sharing

    There are 5 files, here the path where you need to put them:
    wp-content/plugins/mphb-notifier/classes/utils/booking-utils.php
    wp-content/plugins/mphb-notifier/includes/actions-and-filters.php
    wp-content/plugins/mphb-notifier/includes/functions.php
    wp-content/plugins/mphb-notifier/classes/admin/meta-boxes/send-meta-box.php

    wp-content/plugins/motopress-hotel-booking/includes/emails/abstract-email.php

    I make it in order to be able to see in the list and send notification that are disabled (for exemple if you don’t want to automatically send a mail after/before checkin/checkout but still want to be able to send them manually on the need).
    Be aware that all the mail set on the notification will be sent (customer/admin/custom).

    If you test it let me know et don’t hesitate to tell me if does not work for you or if you think of something to improve it.

    Like always, neither motopress team or I can be held responsible if you screw up something. ALWAYS backup the files you erase or replace and avoid playing with production website.

    #1384805
    Pavel Lukáš
    Participant

    Super good job. Thank you But I had problems, I will wait for Motopress to include it in the system. It is an important function to send a message to the customer from the system. The Notifier plugin can’t do that either, and that’s a shame.

    #1384817
    Mickael Quirin
    Participant

    No problem I understand. Like I said multiple time is better to be conformable with code to modify it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.