Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you mean the product link of downloads?

    Plugin Support karlalevelup

    (@karlalevelup)

    Hello,

    Thank you for reaching out.

    Are you referring to these – products inside the order table? If you are, there should be no links for the products.

    Please try to deactivate your other plugins one by one and test the email after each deactivation to see which one of them is adding the links. Additionally, if you are using custom code snippets that may affect the WooCommerce emails’ order details, try to remove them as well.

    If this is not what you’re referring to, please send a screenshot URL pointing to which link it is so we can assist you better.

    Best Regards,
    Karla

    Thread Starter radevwp

    (@radevwp)

    No we are fine with the download links, for this specific situation we just want to remove the product link. https://www.awesomescreenshot.com/image/18180232?key=89b6d14d0ad56276d6d9955ed88c3a95

    Thread Starter radevwp

    (@radevwp)

    This would be in the downloads table

    Our plugin doesn’t provide options for that you would need to override/edit the woocommerce core templates dealing with product downloads.

    Ben

    You need a file manager for example this one. Then you go to wordpress/wp-content/plugins/kadence-woocommerce-email-desginer/templates/woo/emails. There you download the email-downloads.php. Open the template and

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

    to this one
    <?php echo wp_kses_post( $download['product_name'] ); ?>

    Save the changes and upload the template in wordpress/wp-content/plugins/kadence-woocommerce-email-desginer/templates/woo/emails.

    This solution is from here. But it′s important, that you change the e-mai-donwloads.php of the kadence-woocommerce-email-designer-plugin (like above) and not the email-downloads.php of woocommerce/templates/emails.

    Thread Starter radevwp

    (@radevwp)

    Thank you very much that worked. Wish I could add it to the child theme but it didnt work when I did it. But you way worked.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove product link from emails’ is closed to new replies.