• Resolved webiness.uk

    (@webinessuk)


    Hi,

    I am just after some advice on how best to approach the need of my client.

    They have already bought GiveWP and in one are of the site they need the ability to have an on screen calculator to work out how much a donor’s Zakat donation shouls be in total and then pass that total through to GiveWP for them to donate.

    Please could you let me know if I should be looking at using an existing Zakat calculator plugin and trying to pass the total it calculates to GiveWP, or should I be trying to create the calcultor functionality within GiveWP?

    Many thanks,
    Paul

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

    (@matheusfd)

    Hey @webinessuk,

    Happy to help you with this.

    What you can do is have some kind of calculator implemented before the donation form and then use some JavaScript code to add the amount to the amount field of GiveWP.

    Another option for you would be to have a page with the calculator and the calc button, for example, would send the donor to the donation page, and you could pass a parameter via URL to tell GiveWP how much the donor is going to donate. You would also need some custom code here, and if you’d like you can use a code snippet as rails to develop your custom code. You can check it here https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/populate-amount-from-url.php.

    Hope it gives you the rails to customize your site. I wish you happy fundraising ??

    Have a great day!

Viewing 1 replies (of 1 total)
  • The topic ‘Zakat Calculator to determine donation amount’ is closed to new replies.