Like other posters, I suggest to test the market before writting your own software. A client of mine is using https://shopk.it for the store front, and it seems quite ok at 10€/month. It allows you to have your own domain attached to it, but you have to pay a little extra for https (which is kind-of strange, but...).