shopping cart appification through hooks