Compatible with any email customiser template plugins?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #90336

    Hi there, I’m looking into using this plugin on my site, but I’m testing the free version on staging, and as far as I can tell, it is not compatible with Villatheme’s Email Customiser Template plugin, as barcodes are not showing on the order on-hold, processing, completed emails. There is only the option to display the SKU. If this is not possible are there any email customiser plugins you know of that are compatible?

    Thanks

    Lucy

    #90633
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the late reply.

    I will need to take a look at VillaTheme’s plugin code. This is the one – https://wordpress.org/plugins/email-template-customizer-for-woo/ – correct?

    #90802

    Hi, thanks for your response.
    Yes that is the one.

    Kind regards

    Lucy

    #90870
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Lucy,

    I think I found a solution – I’m going to include it in the next plugin version; however, if you are ok with adding a small PHP snippet to your site, this will add EANs to the VillaTheme’s customizer plugin emails:

    add_action( 'viwec_order_item_parts', function ( $item_id, $item, $order ) {
        if ( function_exists( 'alg_wc_ean' ) && false !== ( $ean = alg_wc_ean()->core->get_ean_from_order_item( $item ) ) ) {
            printf( '<p><strong>EAN:</strong> %s</p>', $ean );
        }
    }, 10, 3 );

    Please give it a try and let me know what you think.

    #90988

    Hi Tom, thank you, I have tried that snippet on the staging site and tried a test order but unfortunately, it isn’t working.

    Lucy

    #90989

    Wait sorry, I tried it again, it does work. Many thanks

    #91089
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Lucy,

    Thank you for the update, and happy to hear it’s solved 🙂

    Let me know if you need anything else, and if you like the plugin, please consider leaving me a rating here or here.

    P.S. As mentioned, this fix will be included in the next plugin version – I will let you know as soon as it’s ready.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.