Moved Cart model functions from shop controller