Many of us run WordPress sites where the content is based on audio. But sometimes you might come up with some great content which you are only willing to sell for a small price. In this tutorial I’m going to show you one of the quickest and easiest way to set up your WordPress blog to accept payments for your music/audio files.
Recently I found some webmasters who had great success with selling music. After closely monitoring their sites I noticed that most of them are using WP eStore e-commerce plugin to sell their digital music/audio content. So I decided to play around with this plugin and finally was able to get my demo music shop up and running.
Step 1: Download the Required WordPress Plugins
First, you need to install the following plugins:
Step 2: Add a Product For Your Music or Audio File
Once you have installed the plugins go to the “Add/Edit Products” menu of eStore from your dashboard.
This is where you can create a product for your media file. You need to enter a name for your media file and a price you wish to sell for.
Now move on to the Digital Content Details section. If you are planning to sell a digital download(e.g. photo, e-book, music, audio, podcast, mp3 etc) you need to specify the URL to the file in the Digital Product URL field. You can either host your file somewhere else or click the “Upload File” button which will automatically upload the media file to your server and insert the URL into this field.
Make sure that the “Downloadable” option is enabled (by default it is enabled). This allows the plugin to encrypt the download link.
Now that you have uploaded your file go to “Additional Product Details” section (one section up). Embed the compact audio player shortcode with a link to your media file in the “Product Description” field. You can either use the full URL or a URL containing the shorter version of your music or audio file. I prefer to use the shorter version since it will be used as a preview of the main file.
You can also specify a thumbnail image for your audio file in the “Thumbnail Image URL” field.
Click the “Save Product” button at the bottom of the page to finish creating the product.
You can always edit a specific product from the “Manage Products” menu.
Step 3: Display Your Music or Audio File
Create a new post/page from your dashboard and embed the following shortcodes in it. The first shortcode allows you to display your media file using fancy display 1 (There are various stylish display options available in the eStore plugin). The second one will display the content of the shopping cart when there is at least one item in the cart.
Publish the post/page and and it will look like the following:
As you can see there is a play button which will allow users to check the media file before purchasing it.
If the “Add to Cart button” is clicked the product will be added to the shopping cart.
That’s it. Now you have a fully functional site where a user will be able to purchase music or audio files.
If you have any questions feel free to share it in the comment section below.