Shopcart controller