• Hello, Im working on a custom email and wondering if theres any documentation available on linking in the emails.

    I’ve added the email to the filter: kadence_woomail_email_types
    But am receiving errors which I am currently uncertain how to avoid.
    “An error occurred trying to load this email type. Make sure this email type is enabled or please try another type. ”

    Thank you,

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

    (@hannahritner)

    Hi Nate,
    Thanks for reaching out! We don’t have documentation on this as of now, but I’ll reach out to our dev team and get some insight for you.
    Thanks for your patience!

    Kindly,
    Hannah

    Nate,

    I think I see the problem.

    Try using the “kadence_woocommerce_email_previews” filter instead.

    It expects you to add an array to it’s array.
    The array you add should look like this:

    array(
        'email_type' => 'email_example_slug',
        'email_name' => 'Email Example',
        'email_heading' => __( 'Placeholder for Heading', 'plugin' ),
    );

    Supplying values for this filter automatically hooks things into the “kadence_woomail_email_types” filter you were using before and others which I think are all important to making third party emails load correctly.

    Disclaimer: I have not tested this myself yet, so try it out and see if that works for you.

    Mark

    Thread Starter Nate1

    (@nate1)

    Thanks for getting back to me, Ill post back when I have had time to test this out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Template – how to link into customizer?’ is closed to new replies.