default donation amount

  • Hamlin Gordon
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 7 months ago #97586 by Hamlin Gordon
default donation amount was created by Hamlin Gordon
I'm making a feature request for:
default donation amount, where I can set a default amount

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #97598 by Mr. Dam
Replied by Mr. Dam on topic default donation amount
Hi Halim,
You can setup the Default donation amount at Back-end > Joom Donation > Configuration
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Hamlin Gordon
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 7 months ago #97626 by Hamlin Gordon
Replied by Hamlin Gordon on topic default donation amount
I've done that but the user still have to select the amount, that is not how a default setting should work, if I set a default it should eliminate that extra step, which does not happened with this component, please see screen shot. when I set the default amount all that shows up is the word AMOUNT where my default number should be.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #97679 by Mr. Dam
Replied by Mr. Dam on topic default donation amount
Hi Hamlin,
I am not sure with your idea, currently, when you setup pre-defined amount in Joom Donation. Those amounts will be shown as Checkboxes, but at the bottom, there is the free text field where user can enter their amount too.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Hamlin Gordon
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 7 months ago #98202 by Hamlin Gordon
Replied by Hamlin Gordon on topic default donation amount
yes but the check box is not auto selected, I'm asking for a feature request, if you have a list of predefined amounts the first one in the list is auto selected example:
(*) $500 (auto selected for user)
() $200
() $100
() $50
The following user(s) said Thank You: Tom

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #98419 by Mr. Dam
Replied by Mr. Dam on topic default donation amount
Hi Hamlin,
If you want the first option is selected as default, you can make the modification on source code of Joom Donation. Please open file: root > components > com_jdonation > view > donation > tmpl > default.php
Find:
if ($amount == $this->rdAmount)
You can change to

if ($amount == 500)

Good luck
Dam
The following user(s) said Thank You: Tom

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #99385 by Amy Christian
Replied by Amy Christian on topic default donation amount
I just wanted to clarify this. The "other amount" box is only shown if I'm using the general configuration to list the predefined amounts and descriptions and set "Display amount textbox" to Yes. This option doesn't seem to be available when using the predefined amounts in a campaign. Is that correct?

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #99503 by Mr. Dam
Replied by Mr. Dam on topic default donation amount
Hi Amy,
If in Configuration page, you select Yes with option: Display amount textbox, the field Other amount will show in Donation form
Thanks
Dam
The following user(s) said Thank You: Hamlin Gordon

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt