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.
Problem/Motivation
When
1) uc_bitcoin module is enabled
2) Checkout completed without paying by Bitcoin,
the email confirmation message contains unnecessary text:
-- Payment to be sent to address:
Proposed resolution
Alter code in uc_bitcoin_mail_alter to check if paying by Bitcoin.
Remaining tasks
Code patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | UnnecessaryEmailText-2513294-2.patch | 1004 bytes | pmagunia |
#1 | UnnecessaryEmailText-2513294-1.patch | 963 bytes | pmagunia |
Comments
Comment #1
pmaguniaAttaching patch for review.
Comment #2
pmaguniaWhen the order_status is 'completed', the message doesn't need to be displayed either.
Comment #3
nerdcore CreditAttribution: nerdcore as a volunteer commented#2 works as advertised.
Comment #4
dgtlmoon CreditAttribution: dgtlmoon commentedThanks!