Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it'd be a handy option of allowing the user to enter custom text for the button implemented. I do realize this can be overridden with the use of another module or with the use of String Overrides. I think things start to get dirty and hard to maintain if this is done though hence the feature request.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1203354-ability-to-edit-checkout-button-text-1.patch | 898 bytes | thedavidmeister |
Comments
Comment #1
thedavidmeister CreditAttribution: thedavidmeister commentedPretty easily actually, this module is already looking for a particular variable that can override the text in that button.
Looks like a deprecated variable that was once in UC and was removed in one of the update hooks, but UCOCR will automatically pick it up if you create a field and set it in the admin settings.
Patch attached for review.