Skip to content
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

Add a way to display custom fields to the bottom of the donation receipt shortcode output #22

Closed
2 tasks
DevinWalker opened this issue Jan 20, 2017 · 1 comment
Assignees

Comments

@DevinWalker
Copy link
Member

@Benunc commented on Fri Jan 20 2017

Issue Overview

If a donation has custom field data, we should provide a way to display that on the shortcode output.

Expected Behavior

If you add custom field data with Form Field Manager, you should be able to add additional table cells to the bottom of the shortcode output with that data in them.

Current Behavior

Currently it's not possible to add that data to the shortcode output.

Possible Solution

Add an action or filter to the bottom of https://github.com/WordImpress/Give/blob/master/includes/admin/shortcodes/shortcode-give-receipt.php#L98 so that additional fields can be added there.

Todos

  • Tests
  • Documentation

@DevinWalker commented on Fri Jan 20 2017

You can add them using the following action: https://github.com/WordImpress/Give/blob/master/templates/shortcode-receipt.php#L242

This is probably better as A) a snippet and b) an issue on FFM.

@ravinderk
Copy link
Collaborator

@DevinWalker Can we close this in favor of impress-org/givewp#2801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants