To unlock the museum shop, you first have to donate at least 20 items to the museum. You also have to donate at least one item to each of the four categories: bugs, fish/deep sea creatures, fossils, works of art. After this, you will one day find Blathers thinking about something when you first go into the museum.