• Is it possible to add a few newer templates for the WooCommerce emails? Couple modern ones for example. Is that possible in a future update?

Viewing 1 replies (of 1 total)
  • Plugin Support karlalevelup

    (@karlalevelup)

    Hi there!

    Glad you reached out to us here.

    This will involve custom code and while we can’t provide support for that, here are the steps that you would take:

    1. Create your additional WooCommerce email template.
    2. You can make it possible for the email to be previewed in the?Email Customizer?by passing in these details via a filter:?kadence_woocommerce_email_previews

    You would pass in an array

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

    This is just a sample code. Note that if you wanted users to be able to edit text, it would require adding actions to replace the text in your email templates.

    Another way is to use a plugin that will add the additional templates. These templates should inherit the global styles from our plugin too.

    Let me know if I can assist you further.

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