Title: Add hyperlink to e-mails
Last modified: September 9, 2021

---

# Add hyperlink to e-mails

 *  Resolved [2youmarketing](https://wordpress.org/support/users/2youmarketing/)
 * (@2youmarketing)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/add-hyperlink-to-e-mails/)
 * Hi,
 * I edited some of the text that is sent in the e-mails when a client buys a product.
   I’ve tried to add a hyperlink to that text, sadly this hyperlink becomes plain
   text when viewing the e-mails.
 * The code:
    `<p><?php printf( esc_html__( 'Thank you for your order! Your spot
   has been reserved. If we receive the minimum required enrollments, the course
   will take place as planned. You’ll receive confirmation of this and your ticket(
   s) one week before your course starts. Please read our <a href="https://openbarewerkplaats.
   nl/course-conditions/?lang=en"">Terms & Conditions</a>.', 'woocommerce' ))?></
   p>`
 * I can just see the plain text. Any clue how to fix this?
    -  This topic was modified 4 years, 8 months ago by [2youmarketing](https://wordpress.org/support/users/2youmarketing/).
    -  This topic was modified 4 years, 8 months ago by [2youmarketing](https://wordpress.org/support/users/2youmarketing/).

Viewing 1 replies (of 1 total)

 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/add-hyperlink-to-e-mails/#post-14859049)
 * Hi [@2youmarketing](https://wordpress.org/support/users/2youmarketing/),
 * You’ll want to place the hyperlink outside of PHP tags and not directly inside
   them. As we do not provide support for custom coding on this forum, if you need
   more help I recommend reaching out to some of the official WooCommerce development
   partners via this link: [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/).
 * Also, the following resources for developer may be helpful:
    - [WooCommerce Slack Community](https://woocommerce.com/community-slack/)
    - [Advanced WooCommerce group on Facebook](https://www.facebook.com/groups/advanced.woocommerce/)
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Add hyperlink to e-mails’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [e-mail](https://wordpress.org/support/topic-tag/e-mail/)
 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/add-hyperlink-to-e-mails/#post-14859049)
 * Status: resolved