shop to db