• I have written a plugin that adds new email classes to Woocommerce. Are there any hooks support by the Kadence plugin to add new email types other than the default Woocommerce emails? How difficult is it to add new email types? i see that the kadence plugin overwrites the template locate paths to redirect to the kadence templates that have the kadence action calls. Do I need to just create new templates at the \kadence-woocommerce-email-designer\templates\woo\emails path?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,
    There are three levels of “supporting” new email types.

    By defualt, if your emails use standard woocommerce classes and html framework then they are already “supported” in the sense that your emails will be styled through this plugin. The text won’t be editable but that email will already inherit the styles setup through this plugin.

    The second level is if you want to add a way to preview your emails. There are hooks for this that you can add to your theme so that your emails will show as an option to preview but there are limitations if your email requires some custom object, for example, the preview may not be correct and the best option is to work with me to go all the way and support the third level.

    The third level of support is where I add your templates into this plugin with support to change the text. There are hooks for this so It’s not at all impossible to add this kind of support yourself and add in actions for your own text that can check the database.

    If you can link to your plugin I would be able to give you much more specific information.

    Ben

    Thread Starter kwmchugh

    (@kwmchugh)

    Hi Ben,

    The plugin I created is very specific to a client and not worth adding support to your plugin. I was just trying to understand what would be required to try to add the emails that I added to woocommerce (using the standard woocommerce classes and html framework) as new email types.
    For now the first level of support will be sufficient.
    Thanks,
    -Kevin

    So if you don’t want to preview the emails then the styling should already be added through the woocommerce mail class. Are you saying that your emails are not styled?

    Ben

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