Shop & Merchant Generator
The party walks into a shop and asks what is for sale. Pick the kind of shop and the size of the place, and this stocks the shelves from the same item lists the Loot Generator rolls on (the SRD, the equipment tables, the community gallery and the items you made yourself): mundane gear at its listed price, and magic only as rare as the place would plausibly carry. Save a shop and it is here when you come back.
Shop settings
Pick a kind of shop and a place, then stock it.
Where the prices come from
Mundane gear sells at the price the equipment tables give it. The SRD gives magic items a rarity but, with a few exceptions, no price, so a magic item here costs the guide figure for its rarity: 100 gp common, 400 gp uncommon, 4,000 gp rare, 40,000 gp very rare, with potions and scrolls at half. Those figures are marked with an asterisk so you can tell the book's numbers from the guideline. Set the prices to a bargain or a gouge to suit the shopkeeper.
The place sets how many lines a shop carries and how rare its stock runs: a hamlet smith has a few mundane blades, a metropolis curio shop might have something very rare in the back. Pick a rarity cap to override it. Add the shop to Campaign Forge and it arrives as a market, with the stock in its economy notes.
Every line says which list it came from. Open any of them in the Item Creator to make your own version, or add it to the Loot Generator's haul when the party buys it.