• Resolved mapo85

    (@mapo85)


    Hi,
    I would like to insert a field with the reason for the donation, what should I do?

    thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi @mapo85,

    Happy to help you!

    In fact, we have two ways of adding a custom field, like the one you are looking for, for your donation forms.

    You can add that by using one of our Pro add-ons called Form Field Manager, that allows you to create custom fields for your forms. As it’s a paid add-on, we cannot support it here at www.remarpro.com, but we’d support you via priority support.

    The second option (which is free), is to use one of our code snippets available on our snippet library.
    This code here https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/custom-fields-plugin.php allows you to add a custom field on your donation forms, but you’ll need to customize it to your needs.

    Please let us know if you have further questions on this or need any additional assistance!

    Thread Starter mapo85

    (@mapo85)

    How can I make the “causal” field appear also in the donor receipt?
    thank you

    Plugin Support Matheus Martins

    (@matheusfd)

    Hey @mapo85,

    To develop this functionality, it will require more custom development, which is above what we can provide as support.

    I encourage you to check our plugin’s code and navigate through it because there are a lot of hooks that you can use to extend how GiveWP works. You can also use, as an example, the code a teammate developed to add the donor’s last name to the receipt. You can see it here https://gist.github.com/rickalday/dd724492bbb4eda548b9ac4fe010cb03.

    Hope it gives you rails to develop your custom code.

    Have a great day!

    Thread Starter mapo85

    (@mapo85)

    if I purchase your Form Field Manager plugin, can I make the “causal” field appear also in the donor receipt?
    thank you

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi @mapo85,

    Yeap. You can use the {all_custom_fields} template tag to show it.

    As we are not allowed to support paid add-ons on the www.remarpro.com forum, you can contact via https://givewp.com/contact-us/ and we are happy to clarify any doubts.

    Hope you have a great day! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘field with the reason for the donation’ is closed to new replies.