The Edinburgh Weaving Company (on Castlehill) has over 150 tartans for sale but will also custom make a kilt for you to take home.
The Edinburgh Weaving company will sell you a kilt, but cannot design a custom one.