Closed (fixed)
Project:
Commerce Moneris
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 13:52 UTC
Updated:
3 Apr 2012 at 15:09 UTC
First of all, thanks for the module, glad to see it is a proper project now. I just updated the page on drupalcommerce.org.
If I have payments by i.e. Cheque and Moneris, I don't want to display "Moneris" to the user when they are selecting their payment method. Is there a good way of changing this text besides hook_form_alter() or the String Overrides module? I had thought renaming the payment method rule might do it, but that doesn't seem to the case.
Comments
Comment #0.0
star-szrRevising to note that I updated the page on drupalcommerce.org.
Comment #1
ionut.alexuc commentedHi,
No, I don't think you can do that without form_alter.
I'm using a hook from commerce to provide the Moneris payment.
I think the best way is to use hook_form_alter.
Comment #2
ionut.alexuc commentedNew status: closed (works as designed).
Comment #3
star-szrI came across a similar issue earlier today in the Commerce Cheque module queue - #1289306: Replace instances of "cheque" with "check" in the UI
Commerce Cheque addressed this by adding a settings form, see http://drupalcode.org/project/commerce_cheque.git/commit/05d0a75.
What are your thoughts about this approach? I'm willing to submit a patch to implement this feature.
Comment #4
ionut.alexuc commentedThat is implemented now.
I've created a new version 7.x-1.1
Let me know if that fixed your request.
Comment #5
star-szrThanks, works great!
Comment #5.0
star-szrform_alter = hook_form_alter()