Support » Plugin: Webba Booking » “Send reminders only for approved appointments” doesn’t work as it should

  • Resolved urgul

    (@urgul)


    “Send reminders only for approved appointments” option doesn’t work as it should in version 4.0.65. Webba Booking sends reminders to all appointments, even these which aren’t approved. In previous versions it worked like it should.

    Please fix this issue.

    • This topic was modified 5 months, 4 weeks ago by urgul.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebbaPlugins

    (@webba-agency)

    Hi,

    Thank you for reporting about this problem.

    Please, clarify the value of the option Send customer reminders days before appointment.

    Thread Starter urgul

    (@urgul)

    Hi,
    thank you for your reply.

    I have set it to 3.

    Plugin Author WebbaPlugins

    (@webba-agency)

    Hi,

    The bugfix will be included in the next release.

    An emergency fast fix can be done by updating the following file in Webba plugin:

    common/class_wbk_email_notifications.php

    After line 360:

    foreach ( $appointment_ids as $appointment_id ) {

    insert the following code:

    if ( get_option( 'wbk_email_reminders_only_for_approved', '' ) == 'true' ){
    	$status =  WBK_Db_Utils::getStatusByAppointmentId( $appointment_id );
    	$skip_status = array( 'pending', 'paid', 'arrived' );
    	if( in_array( $status, $skip_status ) ){
    		continue;
    	}
    }
    Plugin Author WebbaPlugins

    (@webba-agency)

    UPDATE: fixed in 4.0.67.

    Thread Starter urgul

    (@urgul)

    Thank you! 🙂

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