A module for people looking to integrate a mix of physical/digital audio files for sale and want the ability to have an inline player
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
snippets
templates
readme.md

readme.md

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.

2. Properties

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.

  1. FORMAT - what version is the customer buying, CD, Vinyl, 2xLP, etc.
  2. 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.
  3. 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)


It will look like once you get it set up:



Then your product variants will look like this:

3. Templates

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.