Hey @wpress2010
You can set that up with EDD sure.
What you can do is when you create your Download with EDD in the actual body of the Download (where you add the description and other information) you can embed an Audio file via the default WordPress features.
When you create the Download click the Add Media button and upload the sample audio file and insert it into the post. It will automatically add a small audio player that your customers can use to listen to the sample file: https://a.supportally.com/RUF6cL
In the Download Files section of the Download you will then upload the full audio file that the customers will receive after purchasing.
Thanks. This works perfectly! I think that the Purchase buttons could be (1) made smaller – simple via CSS, and (2) for space-saving concerns, these buttons should be floated to the right of the audio player. Basically, there are 8 tracks to be offered, so moving the buttons to the same line as the player would help. Still working on that…
Hey @wpress2010
I believe you should be able to achieve that via custom CSS code. You can always disable the normal EDD button output on your downloads and then create a custom add to cart button manually and place it in the body of the download in any location you want.
We have a helpful article on how to create custom buttons here https://docs.easydigitaldownloads.com/article/546-creating-custom-add-to-cart-links
Regards
Yes, this is very simple to do. I found that the best way to implement EDD within my Divi theme is like this:
1.) Use Divi code module, put in code for sample mp3 file – which also calls the audio player. Good built-in support for styling author/title/album.
2.) Use a separate Divi code module to put in the code for the “Purchase” (i.e., add to cart button) file – i.e., the complete mp3 file.
Bu using separate Divi code modules, position of both Purchase button and player can be tweaked for all mobile platforms as well. Basic idea is to have a row <div> with 2 columns: one of about 80% width for audio player, second one of about 20% width for Purchase button.
Glad to hear you managed to get it sorted!