Change Text Based on Selected State

I’d love to change my button text from “Add to Cart” to “Added” when it’s in a selected state. I see I can change the image, bg color, font, etc, but dynamically replacing text would be also be a welcome addition.

button text can be updated by clicking on it directly and editing it

Yes, but I want the button text to change when it’s “Selected”. As in, inititally it says “Add to Cart”, but when selected, it says “In Cart”.

You could have two buttons with different text that dynamically hide/show with opposite conditions. And when one is clicked, have it set the value of the field that powers thehide/show condition