New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(shortcode): Add Company attribute to give_receipt shortcode #3361
Comments
UPDATE: |
feat(shortcode): Add Company attribute to give_receipt shortcode #3361
@ravinderk Here is the point that needs to be cover but the first two-point is not done as expected. The third point is working fine
|
We can not show company name by default because Shortcode builder do not generate attribute value for default value and it will be difficult to add backward compatibility for existing receipt shortcode. . |
@ravinderk I think I understand. Essentially, we currently only have a global setting for the Company option, not a per-form setting. So your PR essentially just ensures that the Company field is output in the Donation Receipt by default, no changes necessary to the shortcode at all. But to be clear, I was referring to the Shortcode Builder for the Does that make sense? |
@mathetos We have per form company field setting: @mathetos Shortcode builder does not allow us to set default value other than the default value of shortcode attribute. That means by default |
|
User Story
As a
Give Admin
I want to be able to display the Company field on the Donation Receipt page.Current Behavior
Currently, the Company Name is not added by default to the receipt, and there's no option to add it without code.
Expected Behavior
I expect that the Company field would be included in the output of the
give_receipt
shortcode by default, and that I'd have the option in the Shortcode Builder to exclude it optionally:Related
Tasks
The text was updated successfully, but these errors were encountered: