The request
“Most of our products are one-off purchases but some are monthly subscriptions. The add-to-cart button should say Donate for one-time products and Subscribe for monthly ones.”
One button label for two very different actions.
The approach
We made the button label product-aware, showing Donate or Subscribe based on the product's type, with the label editable per type in the theme editor.
What we shipped
Button label changes by product type
Labels editable in the theme editor
Consistent in quick view and cart