added the fading button fuction to the add to cart