marketpress - email confirmation product purchase

How/Where do I remove the download link from the automatic email which is generated when a product is bought. You can see it in the photo.

  • Predrag Dubajic

    Hey Douglas,

    Hope you're doing well today :slight_smile:

    Unfortunately this can't be changed from plugin settings, only way to remove it would be from plugin files itself.

    You can do this by editing /wp-content/plugins/marketpress/includes/common/helpers.php file and change line 109 from this:
    <td>" . $item->title( false ) . ( ( $download_link ) ? '<br />' . $download_link : '' ) . '</td>
    To this:
    <td>" . $item->title( false ) . '</td>

    Save the changes and that should be it.

    Please note that these changes will be overwritten by plugin update so make sure to either bookmark this thread or have a backup of modified file before update.

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.