Customer Download History Shortcode - Show Thumbnail and Normal Price

Posted by: Jasper Green

8th March 2021, 10:29 am

Jasper Green

@VideoElementsFX

8 Mar 2021
10:29 am

Hello,

For the customer download history shortcode it would be good to see thumbnail and normal price option.

[somdn_user_free_downloads_history]

In my case, I'm using the plugin with Woocommerce subscriptions to offer members my product range for free through a monthly subscription.

When they decide to cancel their membership and go to the confirmation page, it would be good to see a table of all of the products and the normal prices of these products to display to customers want they are loosing on if they cancel.

I assume the table: "somdn-account-downloads-table woocommerce-table" would be easy to edit with a functions snippet?

Anyone can assist?

  • Developer
    Richard Webster

    @rwebster

    8 Mar 2021
    11:43 am

    That's something I could look into for a future update, not soon though as it would take a bit of work.

    There's a template file in templates/account/free-downloads.php which can be overridden in your theme folder if you want to make it yourself in the mean time. The structure is YOUR_THEME_FOLDER/somdn-templates/account/free-downloads.php. And the function which gets the columns is somdn_get_account_downloads_columns(), which can be filtered.

  • Jasper Green

    @VideoElementsFX

    14 Mar 2021
    11:17 pm

    Richard Webster said on 8 Mar 2021, 11:43 am:

    That's something I could look into for a future update, not soon though as it would take a bit of work.

    There's a template file in templates/account/free-downloads.php which can be overridden in your theme folder if you want to make it yourself in the mean time. The structure is YOUR_THEME_FOLDER/somdn-templates/account/free-downloads.php. And the function which gets the columns is somdn_get_account_downloads_columns(), which can be filtered.

    Thanks, I've just hidden the download button part of the table with css which does the job!