Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Agnes

    (@agneslesagegmailcom)

    PS: I figured out the problem happpnes with any field of any category, bcecause there is no spacing between the oderer details table and these additional fields. I guess that is in the email template but that is difficult to deal with. May be you could integrate some top margin in the hook somehow..?

    Thread Starter Agnes

    (@agneslesagegmailcom)

    I ve found I could just add a line break in customer-completed-order.php and admin-new-order.php before the order_meta hook

    do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
    
    // ALP adds BR ?><br /> <?php
    
    /**
     * @hooked WC_Emails::order_meta() Shows order meta data.
     */
    do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );

    yet it could be made simplier your side I guess.

    Plugin Author ThemeHigh

    (@themehigh)

    Thank you for the update. This plugin using the default woocommerce options to display custom fields. We will definitely consider adding a line break in future versions.

    Thanks,
    Support – ThemeHigh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Style and order field in the email.’ is closed to new replies.