Hello,
The module allows to change the "Add to cart" text, but it's not possible to translate it. This can look strange, as in the rest of Ubercart the "Add to cart" text is translated. The attached patch fixes this.
Thank you for this useful module :)
Anselm
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 560934-uc_donation-add-to-cart-button-text.patch | 2.12 KB | mrfelton |
| uc_donation_patch.txt | 743 bytes | Alice Heaton |
Comments
Comment #1
mrfelton commentedThe variable should actually be renamed to uc_product_add_to_cart_text to match what the latest version of Ubercart uses. This ensures that the button text is configurable through /admin/store/settings/products/edit/general.
Sorry for the additional whitespace alterations in this patch. My IDE is set up to clean up whitespace upon save, according to Drupal coding conventions.
Comment #2
Anonymous (not verified) commentedWorks for me