CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Can I remove the "No Thank You" option in additional contributions?
Pages: [1]

Author Topic: Can I remove the "No Thank You" option in additional contributions?  (Read 714 times)

MtnPavlas

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 3.3.3
  • MySQL version: 5.5
  • PHP version: 5.4
Can I remove the "No Thank You" option in additional contributions?
September 12, 2014, 09:33:55 am
Hi,
Is there a way to get rid of the "No Thank You" option in the contribution amounts section on a contribution page used for membership dues?

The use case: need to configure a membership contribution page with multiple predefined amounts or allow the user to enter their own with a minimum of $x. So here's what I've done:
Created a contribution page with membership required (selected a membership type that has $0 value)
In the Amounts section I enabled contribution amounts and listed a few options + enabled other amount

2 issues with that:
  • the label for the contribution amounts section says "Additional Contribution" instead of the Contribution Amounts Label I entered in the contribution page settings
  • the "No Thank You" option is not desirable because we have to have folks pay something

3 ways I can think of solving this (all have issues):
  • Put a base price on the membership type and then folks can use the Additional Contribution section to bump the membership amount (my leadership doesn't like this as they feel most folks will simply select no thank you here if they have to deal with two pricing sections vs. just one)
  • Create multiple membership types with various amounts and then in the Contribution Amounts section only enable the other option (haven't tested this yet so not sure it's possible) - the issue with this is that I'll end up with too many membership types (4 membership types * 5 amounts for each = 20)
  • Hide the No Thank You option by using CSS on each page - issue is that if in the future we want to add another amount option, I'd have to remember to adjust CSS -the only way to do this is to use the class "contribution_amount-rowX" where X is the row #)

I'd prefer not to copy the entire template just because of this - trying to make the implementation as OOTB as possible to minimize maintenance and confusion for future webmasters.

Any other ideas?

Thank you so much, P
« Last Edit: September 12, 2014, 09:36:02 am by MtnPavlas »

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Can I remove the "No Thank You" option in additional contributions?
September 13, 2014, 05:21:25 pm
For the label, you might have to use the Word Replacement in Customize Data and Screens menu to change that label.  I'm not sure why it doesn't take that label definition but it definitely doesn't.

For your second option, you can use only the other contribution option.  Just wanted to confirm that for you as a valid alternative.

A thought to build off of number 2, what if you use a Price Set for membership?  You won't need a separate membership type for each price variation, you can assign multiple price options the same membership type.  And if you make the Price Field required it will not put in the -none- option at the end.  Then you also turn on the Additional Contribution option like you mentioned and that should fit your use case.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Can I remove the "No Thank You" option in additional contributions?
September 14, 2014, 01:17:24 pm
Have you already tried out a Price Set?

I have never seen the 'no thank you' so set up a page on demo to test it and yes i get what you got - and agree the 'additional contribution' label seems to fail to change and that seems like a bug.

I set up a price set - you can see it here

http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=2

i did with both a radio and a text for the donation

you see the radio still has the 'none' option to avoid people clicking and option and not having a 'clear' option

anyhow may help you progress - presumably some js can replace the 'none' with a 'clear'

price set is here
http://drupal.demo.civicrm.org/civicrm/admin/price/field?reset=1&action=browse&sid=9
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

MtnPavlas

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 3.3.3
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Can I remove the "No Thank You" option in additional contributions?
November 02, 2014, 11:28:43 pm
A humble apology for such long silence and thank you for your tips, guys.
In the end, we have gone with the price set option.

Initially, the issue was that our org wanted a set of price (donation) options + the other amount option + recurring option ... all three on one contribution page. And no matter what I tried they didn't work. Finally, they dropped the "other amount" requirement and all is well... price set + recurring transactions coexist quite well.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Can I remove the "No Thank You" option in additional contributions?

This forum was archived on 2017-11-26.