- Posts: 8
- Thank you received: 0
Receipt upon a certain amount
- Denis Langevin
- Topic Author
- Offline
- New Member
Less
More
2 years 5 months ago #152788
by Denis Langevin
Receipt upon a certain amount was created by Denis Langevin
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12815
- Thank you received: 1659
2 years 5 months ago #152791
by Mr. Dam
Replied by Mr. Dam on topic Receipt upon a certain amount
Hi Denis,
Unfortunately, Joom Donation doesn't have option to send the receipt with specific amount.
But you can make the modification to have that change.
1. Open file [root] -> components -> com_jdonation -> helper -> helper.php
2. Find:
and change to
Good luck
Dam
Unfortunately, Joom Donation doesn't have option to send the receipt with specific amount.
But you can make the modification to have that change.
1. Open file [root] -> components -> com_jdonation -> helper -> helper.php
2. Find:
Code:
if ($config->activate_donation_receipt_feature && $config->send_receipt_via_email && $row->published == 1)
and change to
Code:
if ($config->activate_donation_receipt_feature && $config->send_receipt_via_email && $row->published == 1 && $row->amount > 20)
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Denis Langevin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
2 years 5 months ago - 2 years 5 months ago #152792
by Denis Langevin
Replied by Denis Langevin on topic Receipt upon a certain amount
Thanks for the answer!
So with that code, if the donation is 20$ or greater, it will send the receipt by email?
What it must do, is if the donation is like 15$, no receipt sent... but if the donation is 20$ or 125$, a receipt would be sent.
So with that code, if the donation is 20$ or greater, it will send the receipt by email?
What it must do, is if the donation is like 15$, no receipt sent... but if the donation is 20$ or 125$, a receipt would be sent.
Last edit: 2 years 5 months ago by Denis Langevin.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12815
- Thank you received: 1659
2 years 5 months ago #152793
by Mr. Dam
Replied by Mr. Dam on topic Receipt upon a certain amount
Hi,
You can adjust the the amount you want the invoices to be sent:
Thanks
Dam
You can adjust the the amount you want the invoices to be sent:
Code:
$row->amount > 20
Dam
Please Log in or Create an account to join the conversation.
- Denis Langevin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
2 years 5 months ago #152794
by Denis Langevin
Replied by Denis Langevin on topic Receipt upon a certain amount
Yes, that part of the code I see... but what I want to know is if I set the code with amount > 20, and the donor sets his donation to lets say 150$, will the receipt be sent?
Does the code "amount > 20" mean amount of 20$ and up = receipt sent?
Just want to be sure.
Does the code "amount > 20" mean amount of 20$ and up = receipt sent?
Just want to be sure.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12815
- Thank you received: 1659
2 years 5 months ago #152800
by Mr. Dam
Replied by Mr. Dam on topic Receipt upon a certain amount
Yes, Dennis, the invoice will be sent if the amount is higher than 20
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.