Problem with Email Builder not displaying 3rd party shortcodes content

This topic has 6 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow

  • Avatar: amongthieves
    amongthieves
    Participant
    December 16, 2020 at 22:04

    I am using the email builder and the builder is recognizing the emails from the 3rd party plugin, it shows them in the list of “email type” and when i select them, the email i design IS sent when it should be sent, but the {content} is not sending, and is showing as the code instead of the content.

    Heres the info:

    — Plugin: WooCommerce Product Reviews Pro – https://woocommerce.com/products/woocommerce-product-reviews-pro/

    — Emails: Contribution Reply, Flagged Contribution Notification and Review Update Confirmation emails – all of them send with the email i build in the builder, but the short code {contribution_type} does not convert to the actual words, and instead is showing in the emails as {contribution_type} instead of “Review” or “Questions”, etc.

    Is there any way around this with the email builder? Otherwise the emails are pointless, as there is no information in them at all that can be shown that relates to the topic of the email.

    Thanks.

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 17, 2020 at 17:53

    Hello,

    Unfortunately, we don’t guarantee compatibility with third-party plugins and probably it requires additional improvements of the Email builder.
    So, please, submit feature request here https://www.8theme.com/taskboard/ and if it takes votes our developers will be able to implement this in one of the upcoming updtaes.

    Regards

    Avatar: amongthieves
    amongthieves
    Participant
    December 18, 2020 at 22:42

    Thanks. The shortcodes work if i do not create the email in email builder, so if there is no email in email builder, the email that gets sent for the review notifications is the “default email template” in the email builder and the shortcodes work, but if i manually make a review notification email template with the shortcodes, they do not work when manually typed in. Seems odd but i will leave a feature request. Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 19, 2020 at 09:08

    Hello,

    Yes, describe it in detail > https://www.8theme.com/taskboard/

    Regards

    Avatar: holly
    holly
    Participant
    June 18, 2021 at 08:00

    Hi has this been changed ? I’m using flexible checkout fields pro with woocommerce do bring up a delivery date – very important. I’ve added this code in functions file – but still showing nothing

    /**
    * Add a custom field (in an order) to the emails
    */
    add_filter( ‘woocommerce_email_order_meta_fields’, ‘custom_woocommerce_email_order_meta_fields’, 10, 3 );

    function custom_woocommerce_email_order_meta_fields( $fields, $sent_to_admin, $order ) {
    $fields[‘Select your desired date’] = array(
    ‘label’ => __( ‘Select your desired date’ ),
    ‘value’ => get_post_meta( $order->id, ‘_order_custom_delivery_date’, true ),
    );
    return $fields;
    }

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 18, 2021 at 11:54

    Hello, @holly

    Try the Hook element in the Email builder https://prnt.sc/15smu9l and add it to your email template.
    And use one of the existing there hooks in your custom code.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.