NOTE!!: Use at your own risk. I am unable to assist in setting this up on your own store.
Selling Music with Shopify
Here's a few things I learned modifying shopify to sell music at The Ghostly Store
1. Music is a Product
In Shopify, music should be thought of as a product, with different formats variants of that product. There are two main types of variants that we use, and this is probably true for you as well: Physical Music and Digital Music.
In order to differentiate between Physical and Digital music, we'll first need to create some custom Properties. Shopify allows for up to 3 custom properties, and we'll have to use all three.
- FORMAT - what version is the customer buying, CD, Vinyl, 2xLP, etc.
- NAME - what is the name of the thing they're buying. If Physical, this is the name of the release. If digital, this is the name of the song.
- AUDIO - a url to your mp3 clip (IMPORTANT - whatever you link to can be grabbed right from the page, so don't link the whole song, link to a snippet)
Another critical part of this is the template you use. In order to render the player and tracklisting, you'll need to use the template with this code. I've created it as a separate template rather than baking it into your main template so you have flexibility to create different layouts for different products.