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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Where to find Discount
Pages: [1]

Author Topic: Where to find Discount  (Read 1825 times)

Jeroen~

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
    • WoesteLand
  • CiviCRM version: CiviCRM 4.2
  • CMS version: Drupal 7
Where to find Discount
February 23, 2013, 07:06:48 am
I would like to test the discount functionality, but I can't find it.
In the extensions directory I can only find the 4.2 version.
And in all the menu items I can't find a link to discount options.

Can anybody give me a place to look?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where to find Discount
February 23, 2013, 07:37:19 am

we just released the 2.0 version of this a few days ago. You should find it in your extensions directory. This should be compatible with 4.2.7+ and 4.3

http://crm_43/civicrm/admin/extensions?reset=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

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: Where to find Discount
February 23, 2013, 12:01:14 pm
above link didn't work for me
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

Jeroen~

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
    • WoesteLand
  • CiviCRM version: CiviCRM 4.2
  • CMS version: Drupal 7
Re: Where to find Discount
February 23, 2013, 12:11:56 pm
Thanks Lobo!
I went to the extensions directory and found it there (http://civicrm.org/extensions/cividiscount-extension/cividiscount-extension).
I had to download it manually, my site won't connect to the extensions directory.

I'll try it out and will post my findings.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where to find Discount
February 23, 2013, 04:37:36 pm
Quote from: petednz on February 23, 2013, 12:01:14 pm
above link didn't work for me

I meant use a link similar to the one above. the above link was to a site on my local machine

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Re: Where to find Discount
February 26, 2013, 08:21:24 pm
Can CiviDiscount be added to the sandbox Demo for testing?

I get an error message when trying to install it, which I think relates to permissions.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where to find Discount
February 26, 2013, 08:27:28 pm

u get an error message when u try to install it in sandbox?

adding it to sandbox is a bit more involved, since we reload those db's with a pristine copy every day or so

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Re: Where to find Discount
February 26, 2013, 10:26:15 pm
Quote from: Donald Lobo on February 26, 2013, 08:27:28 pm

u get an error message when u try to install it in sandbox?

lobo

OK, sounds a bit complicated to test on sandbox.

The error was:

Extension Upgrade Failed
Failed to move /tmp/tmp-qZKF4f//org.civicrm.module.cividiscount-2.0 to /var/www/sandbox.drupal.civicrm.org/public/sites/sandbox.drupal.civicrm.org/files/civicrm/upload/org.civicrm.module.cividiscount

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: Where to find Discount
February 27, 2013, 02:48:28 pm
Installing the extension on sandbox also produces these errors:

Code: [Select]
    Warning: rename(): The first argument to copy() function cannot be a directory in CRM_Utils_File::replaceDir() (line 597 of /var/www/drupal7.civicrm.org/svn/civicrm43/CRM/Utils/File.php).
    Warning: rename(/tmp/tmp-jxXGmA//org.civicrm.module.cividiscount-2.0,/var/www/sandbox.drupal.civicrm.org/public/sites/sandbox.drupal.civicrm.org/files/civicrm/upload/org.civicrm.module.cividiscount): Success in CRM_Utils_File::replaceDir() (line 597 of /var/www/drupal7.civicrm.org/svn/civicrm43/CRM/Utils/File.php).

This appears to be an open PHP bug: https://bugs.php.net/bug.php?id=54097

I've enabled the work-around ( http://issues.civicrm.org/jira/browse/CRM-11987 , r45904 ) and deployed it to sandbox.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Where to find Discount
March 04, 2013, 09:15:01 pm
Has anyone enabled this on our own site (civicrm.org)? need to set up discounts for our upcoming sprints, etc.
Try asking your question on the new CiviCRM help site.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where to find Discount
March 04, 2013, 09:22:38 pm

yes, it being used for civicon discounts

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Re: Where to find Discount
March 18, 2013, 10:48:24 am
I have enabled the CiviDiscount extension and added a discount for several of my memberships.  I cannot seem to find out how to get it to actually show up on a contribution form.  Is there some additional admin needed to allow someone to enter the code or have it automatically apply on a contribution?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where to find Discount
March 18, 2013, 01:06:02 pm

have u tried it on a membership page?

another option is to append:

discountcode=YOUR_DISCOUNT_CODE

to your GET string in a contrib / event page

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Re: Where to find Discount
March 19, 2013, 05:29:33 am

Yes, after some refreshing I found the discount code show up at the top of my contrib page for a membership.  I will try to get it to work on an event today.  Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Where to find Discount

This forum was archived on 2017-11-26.