• Resolved alimajidw

    (@alimajidw)


    Hello, im just sharing

    After update to version Version 1.1.18, email type from third party plugin not showing example when using addify custom field woocommerce, different when use previous version working perfect.

    To Solve
    Go To email-template-customizer-for-woo/includes/utils.php
    Change
    FROM $accept_emails = [ $wc_path ];
    TO $accept_emails = [ ‘woocommerce\/templates’ ];

    What do you think about this solution? i try worked.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for the sharing.

    Actually, I don’t recommend modifying directly to the plugin file, because we already had the filter hook for it that you may use: viwec_accept_email_type

    Best regards

    • This reply was modified 2 years, 3 months ago by angelagrey.
    Thread Starter alimajidw

    (@alimajidw)

    Thank you, how to implement filter hook viwec_accept_email_type to my website without modifing direct plugin file?

    Plugin Support angelagrey

    (@angelagrey)

    I mean, this hook is already available in our plugin. You can use it directly to add email ID, no need to modify our plugin.

    One of our customer also tried the solution you’ve done. Then we’ve reverted the “viwec_accept_email_type” filter hook and you can use that hook to add email IDs if the templates you built for those email types can work properly without errors. The reasons we removed the ”$wc_path” is because there’re other plugins that interfere to WooCommerce emails, it may cause conflict and confuse users.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Email Type Template From Woocomerce Thirdparty Plugin’ is closed to new replies.