Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Deyson,

    This is probably best done with a full template override of the [download_history] shortcode. For information how to do the overrides, watch this short video: https://easydigitaldownloads.com/videos/template-files/

    With your theme template override in place for the “history-downloads.php” file, you can make edits there to add the download’s thumbnail to the table data (td) that holds the product name. The following PHP will output the thumbnail for you with dimensions of 40px by 40px:

    <?php echo get_the_post_thumbnail( $download['id'], array( 40, 40 ) ); ?>

    Thread Starter deyson

    (@deyson)

    Woo Hoo! Thank you. Curiously if I would like to add a link to that php you shared to send my customer to the product page how would I go about in doing that?

    Thank you and you rock! 🙂

    Thread Starter deyson

    (@deyson)

    One more question, is there a way to only show one version of the download they have access to.
    For example if a customer makes a single purchase and then they buy a subscription bundle it shows the singe download and the subscription download as well. So I am looking a way to prevent download history duplicates.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add thumbnails to Download History’ is closed to new replies.