Adding ajax actions for adding and deleting items from the cart.