Where they get there clothes from in the middle ages?

Had them made or made them. They had to buy the fabric and then make the clothing.