You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The custom amount level should not be appended to a set donation's {donation} tag in emails, or in the Donation Receipt shortcode output.
Expected Behavior
Unless customized, I wouldn't want to display the text on the front end of a site at all (current behavior), and I don't think there should be any reason that it is ever appended to the donation title in a tag, or in the Donation receipt shortcode.
Current Behavior
The custom amount text is appended to the Form title on the {donation} tag, if it has been customized, and just the words "Custom Amount" if it hasn't been customized.
(name of the form is "set with Custom Amount")
There's no need to put "custom amount" on that table. I don't even think it needs to be put there for customized text.
Possible solution
If it is a set donation form, the {donation} tag always and only gets the Form Title on the {donation} tag, and in the shortcode output.
Steps to Reproduce (for bugs)
Create a set level donation form
Enable custom amounts
Ensure that the {donation} tag is in use on the email receipt
Submit a test donation and check the email.
On both the donation receipt {give_receipt] shortcode, and the email, the form title has either "custom amount" (if it's not custom text added) or the custom message that users can add on the back end of the site.
Issue Overview
Related to #2161
The custom amount level should not be appended to a set donation's
{donation}
tag in emails, or in the Donation Receipt shortcode output.Expected Behavior
Unless customized, I wouldn't want to display the text on the front end of a site at all (current behavior), and I don't think there should be any reason that it is ever appended to the donation title in a tag, or in the Donation receipt shortcode.
Current Behavior
The custom amount text is appended to the Form title on the {donation} tag, if it has been customized, and just the words "Custom Amount" if it hasn't been customized.
(name of the form is "set with Custom Amount")
There's no need to put "custom amount" on that table. I don't even think it needs to be put there for customized text.
Possible solution
If it is a set donation form, the {donation} tag always and only gets the Form Title on the {donation} tag, and in the shortcode output.
Steps to Reproduce (for bugs)
On both the donation receipt {give_receipt] shortcode, and the email, the form title has either "custom amount" (if it's not custom text added) or the custom message that users can add on the back end of the site.
Related Issues and/or PRs
#2161
Todos
The text was updated successfully, but these errors were encountered: