Change “Add to cart” text when product added to cart

This code changes the “add to cart” text on the button when a product has been added to the cart.