• Great plugin by the way!!

    Could you please update the plugin to make it compatible with Woocommerce Bookings? These emails are not available in the dropdown list of editable emails?

    Kind Regards,
    – D

    • This topic was modified 4 years, 5 months ago by King Ding.
Viewing 5 replies - 1 through 5 (of 5 total)
  • hannah

    (@hannahritner)

    Hi D,
    This plugin only supports WooCommerce core email types. To add another type created by third-party plugins they would just need to hook in their emails. I suggest reaching out to WooCommerce Bookings and asking if they have done this. Let me know how they respond!

    Best,
    Hannah

    Thread Starter King Ding

    (@dazzerr)

    What do you mean by “just hook in their emails” Hannah? Sounds like something I could do if you might be able to elaborate a little more ??

    Hey,
    To help clarify.

    All emails sent through woocommerce will have the styling (header and footer) that you set up through our plugin. Those styles apply.

    To preview emails in the customizer that requires hooking into our plugin and telling it how to generate a preview. That looks like this:

    function custom_add_email_previews( $emails = array() ) {
    $args = array(
    'email_type' => 'email_example_slug',
    'email_name' => 'Email Example',
    'email_class' => 'Custom_WC_Email_Extend',
    'email_heading' => __( 'Placeholder for Heading', 'plugin' ),
    );
    $emails[] = $args;
    return $emails;
    }
    add_filter( 'kadence_woocommerce_email_previews', 'custom_add_email_previews' );

    To actually edit the text is another step and would require you to override the email template to add an action to would check for body text set by this plugin. I don’t suggest you do this. Ideally for this kind of integration the plugin author is in communication with us (simply giving us access to their product is the biggest thing) and then we can create that integration at that level.

    Ben

    Thread Starter King Ding

    (@dazzerr)

    Would it be beneficial if I could give you access to the plugin Ben? I could set up a staging site for you to do your thing on.

    Regards,
    – D

    Hey,
    Thanks for the offer but I need my own long term access if I am going to override a plugins template files.

    Ben

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Compatibility with Woocommerce Bookings’ is closed to new replies.