• Plugin Author Rajesh Kaswala

    (@rstarlite)


    In recent versions of WooCommerce Bookings, they have removed “woocommerce_bookings_gcalendar_sync” filter , which is used by “Google Calendar Event Add-on WooCommerce Bookings” plugin, so if you use any version of Woocommerce Bookings after 1.12.2, then “Google Calendar Event Add-on WooCommerce Bookings” plugin won’t work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, such a shame as this plugin was awesome. Do you have plans to update it to work with the latest version of WooCommerce Bookings?

    Plugin Author Rajesh Kaswala

    (@rstarlite)

    We could update it to latest version of WooCommerce Bookings but as we mentioned that in recent versions of WooCommerce Bookings, they have removed “woocommerce_bookings_gcalendar_sync” filter which we used. Without that event our plugin can’t send any additional things to Google Calendar.

    As a very dirty fix I added the following lines

    		
    $description .= "\nClient: " . $order->get_billing_first_name() . " " . $order->get_billing_last_name() . "\n";
    $description .= "Email: " . $order->get_billing_email() . "\n";
    $description .= "Phone: " . $order->get_billing_phone() . "\n\n";
    

    just before

    
    $edit_booking_url = admin_url( sprintf( 'post.php?post=%s&action=edit', $booking_id ) );
    

    in

    ./wp-content/plugins/woocommerce-bookings/includes/class-wc-bookings-google-calendar-connection.php

    Seems to work ok but did not test intensively…

    Cheers,
    Holly

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘IMPORTANT NOTICE’ is closed to new replies.