• Resolved gbasson

    (@gbasson)


    I wonder if I can ask you, how to remove the permalinks in the confirmation email to the customer to avoid confusion.
    I have digital products that is downloadable, however the permalink for the product and the download link creates problems to the end user.

    I would like to remove the permalink from the product name in the confirmation email (after payment) – Order Complete email to customer.
    >> WANT ONLY THE PRODUCT NAME and DOWNLOAD link to show in the email.

    Where do I change this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • GS

    (@gswebdev)

    @gbasson pls try the following steps:
    1) Copy the woocommerce/templates/emails/email-downloads.php file to yourtheme/woocommerce/emails/email-downloads.php

    2) In the line 44, replace the

    <a href="<?php echo esc_url( get_permalink( $download['product_id'] ) ); ?>"><?php echo wp_kses_post( $download['product_name'] ); ?></a>
    
    To:
    
    <?php echo wp_kses_post( $download['product_name'] ); ?>
    

    Pls reply if it helps.

    Thank you!

    I think the plugin code has changed. I can’t find “<a href=”<?php echo esc_url…” anywhere.

    • This reply was modified 1 year, 3 months ago by bioxin.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @bioxin

    I understand that you also want to remove the permalink from the product name in the confirmation email.

    Since each site setup differs, and to align with forum best practices, please can you start your own topic so that we can address your issue(s) separately?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Product Name – permalink in confirmation email’ is closed to new replies.