Title: Hyperlink to products?
Last modified: May 20, 2021

---

# Hyperlink to products?

 *  [marko2002](https://wordpress.org/support/users/marko2002/)
 * (@marko2002)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/hyperlink-to-products/)
 * Hi guys, been using the plugin for a short while now and thanks for the development,
   just wondering if there would be a way to actually link to the products from 
   the emails, specifically the “order completed” mail as it would be handy to let
   the user click the product to return to the product page.
    Thanks in advance 
   Marko

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

 *  Plugin Contributor [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-products/#post-14470483)
 * Hey,
    This isn’t something that our plugin controls or provides settings for.
   You would have to edit the woocommerce order table output to add a link.
 * Ben
 *  Thread Starter [marko2002](https://wordpress.org/support/users/marko2002/)
 * (@marko2002)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-products/#post-14472903)
 * Ah, gotchya, thanks for that 🙂
 *  Thread Starter [marko2002](https://wordpress.org/support/users/marko2002/)
 * (@marko2002)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-products/#post-14472913)
 * Just in case anyone else looking for same, adding below to functions works a 
   treat 🙂
 *     ```
       add_filter( 'woocommerce_order_item_name', 'display_product_title_as_link', 10, 2 );
       function display_product_title_as_link( $item_name, $item ) {
   
           $_product = wc_get_product( $item['variation_id'] ? $item['variation_id'] : $item['product_id'] );
   
           $link = get_permalink( $_product->get_id() );
   
           return '<a href="'. $link .'"  rel="nofollow">'. $item_name .'</a>';
       }
       ```
   
    -  This reply was modified 4 years, 11 months ago by [marko2002](https://wordpress.org/support/users/marko2002/).
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-products/#post-14477795)
 * Thanks for sharing, [@marko2002](https://wordpress.org/support/users/marko2002/)!
 * All the best,
    Hannah

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

The topic ‘Hyperlink to products?’ is closed to new replies.

 * ![](https://ps.w.org/kadence-woocommerce-email-designer/assets/icon-256x256.png?
   rev=3115863)
 * [Kadence WooCommerce Email Designer](https://wordpress.org/plugins/kadence-woocommerce-email-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kadence-woocommerce-email-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [hannah](https://wordpress.org/support/users/hannahritner/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-products/#post-14477795)
 * Status: not resolved