Empty (not defined) shops now tell you their id for the database entry. I'll do something about the coordinates/heading  and template id later.