Bulk-editing Bandcamp per-track pricing
Bandcamp recently rolled out bulk editing for albums, but unfortunately it only lets you bulk-edit album prices, rather than the prices of individual tracks within an album. Fortunately, it isn’t too difficult to do this with a little Javascript.
For each album that you want to change the prices on:
Open up your album’s editor
Open up your browser’s Javascript console (usually using ctrl-alt-I on a PC, or cmd-alt-I on a Mac)
Paste in this bit of code (assuming you want to set the price to 1.50 per track in your local currency; change the
'1.50'to whatever value you want it to be otherwise) and press Enter:document.querySelectorAll('input.price[name^="track.price"]') .forEach(e=>{e.value='1.50';e.dispatchEvent(new Event('change'))})
Verify that the prices are the way you want them and then click “update album”