• Hello @britner

    I am using WooCommerce Order Status Manager by SkyVerge. How to integrate Custom Email Template created by the plugin? Do you have any filter available?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hi Sayan,
    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. If you want you can have them reach out to us to collaborate and add support.
    Let me know how I can further help!

    Best,
    Hannah

    Thread Starter Sayan Datta

    (@infosatech)

    Hello,

    How to collaborate?

    Hey,
    To clarify, those emails would already inherit the styling you set up in our plugin. For example the header and footer.

    The content of those emails are fully editable from within the WooCommerce Order Status Manager settings so you don’t need out plugin to edit the text like you do with core emails.

    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

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