• Resolved I8rahim

    (@kiko8)


    Hello all,

    I’ve already customized the woocommerce email template, and I need to call it inside the Email Customizer plugin templates.
    I tried these two ways without any luck:
    1- Calling woocommerce_email_header hook.
    2- Using a custom hook and defining it in the functions.php file, then calling the woocommerce_email_header hook inside it.

    Thank you

    • This topic was modified 5 years, 2 months ago by I8rahim.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    We are a little bit unclear about your exact update. Could you please clarify us with more details?

    Thank you!

    Thread Starter I8rahim

    (@kiko8)

    Hi,
    Thanks for your reply,

    I meant that I need to use the default woocommerce email header in the plugin’s template.

    Plugin Author ThemeHigh

    (@themehigh)

    You achieve your requirement using the below steps.

    1. Edit the template in which you need to provide the email header.
    2. In the second row click on Add Element >> WooCommerce Hooks >> Email Header.
    3. Move the Email Header to the top position of that row.
    4. Providing only an email header can make rendering issues so add Email Footer also. Click on Add Element >> WooCommerce Hooks >> Email Footer.
    5. Then delete the first row.
    6. Click on the Save button.

    You can refer to the below link for more details.

    https://drive.google.com/file/d/1rGkTrGWHAwdIEjJHPHE8TCkQeSdF6T1S/view?usp=sharing

    If you are still facing any issue, please raise a ticket through our website. We hope our technical team will be able to help you.

    Thank you!

    Thread Starter I8rahim

    (@kiko8)

    I’d already tried those steps, but instead of rendering the header template I want it renders only one div with one sentence only e.g. “New Order: #8414” for new orders
    Meanwhile, the header I want contains a logo and some menu items.
    This means that it loads the header from the parent theme, not the one I overrided in the child theme.

    Thank you!

    • This reply was modified 5 years, 2 months ago by I8rahim.
    Plugin Author ThemeHigh

    (@themehigh)

    Could you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

    Thread Starter I8rahim

    (@kiko8)

    OK, Thank you!

    Plugin Author ThemeHigh

    (@themehigh)

    We hope your issue is resolved.

    We are going to mark this thread as resolved.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Using default woocommerce email header’ is closed to new replies.