Answers.Body: <p>This may not a long-term fix, but I found a fix in the CiviDiscount github issue tracker.</p>
  
  <p>The underlying problem:  CiviDiscount source will not apply discounts to events with no coupon entered.</p>
  
  <p>The fix:  Add exceptions so that CiviDiscount will apply auto-discounts even if no coupon is entered.</p>
  
  <p>Here is a link to the fix, hopefully this fix or a comparable fix will make it into the next version release.</p>
  
  <p><a href="https://github.com/dlobo/org.civicrm.module.cividiscount/pull/98" rel="nofollow">https://github.com/dlobo/org.civicrm.module.cividiscount/pull/98</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-10T13:58:58.000Z
Answers.Text: Old issue with a couple of [PRs](https://github.com/dlobo/org.civicrm.module.cividiscount/pull/120), but I still can't get the automatic discount to work.
Answers.UserDisplayName: pmoz
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-15T16:07:02.137Z
Answers.LastActivityDate: 2015-05-15T16:07:02.137Z
Answers.UserDisplayName: bdombro
Body: <p>I can't get auto-discount to work.  I first tried on my local Civi, and then the demo civi.  As a test, I have a coupon configured on the <a href="http://d46.demo.civicrm.org/civicrm/cividiscount/discount/edit?&amp;id=1&amp;reset=1" rel="nofollow noreferrer">demo site</a> to auto-discount all events for all contacts of type Individual.  Ultimately I need to apply a discount to a member type, but that's not working either so I simplified it to discount by contact type.  Below is a screen-shot of my coupon settings and the price section of the event.</p>
  
  <p>Link to coupon:<br>
  <a href="http://d46.demo.civicrm.org/civicrm/event/register?reset=1&amp;id=3" rel="nofollow noreferrer">http://d46.demo.civicrm.org/civicrm/event/register?reset=1&amp;id=3</a>
  Link to event where coupon should be applying:
  <a href="http://d46.demo.civicrm.org/civicrm/cividiscount/discount/edit?&amp;id=1&amp;reset=1" rel="nofollow noreferrer">http://d46.demo.civicrm.org/civicrm/cividiscount/discount/edit?&amp;id=1&amp;reset=1</a></p>
  
  <p>The event is not auto-discounted.</p>
  
  <p>The ideal answer would point out what's wrong with my configs, and fix it on the demo site to prove that your answer works.  Thanks!</p>
  
  <p><img src="https://i.sstatic.net/nO5Bt.jpg" alt="Coupon Config">
  <img src="https://i.sstatic.net/d5DAD.jpg" alt="enter image description here"></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-12T15:57:37.273Z
Comments.Text: I'll verify this behavior on the demo site .... neither automatic contact-type discounts nor membership discounts are working.  There are comments in the githhub queue about this: https://github.com/dlobo/org.civicrm.module.cividiscount/issues
Comments.UserDisplayName: Eliot Mason
Tags: <cividiscount>
Title: CiviDiscount does not auto-apply when filtering on contact type
ThreadText: # CiviDiscount does not auto-apply when filtering on contact type
  
  (Asked by: username_0 on 2015-05-11)
  
  I can't get auto-discount to work. I first tried on my local Civi, and then the demo civi. As a test, I have a coupon configured on the [demo site](http://d46.demo.civicrm.org/civicrm/cividiscount/discount/edit?&id=1&reset=1) to auto-discount all events for all contacts of type Individual. Ultimately I need to apply a discount to a member type, but that's not working either so I simplified it to discount by contact type. Below is a screen-shot of my coupon settings and the price section of the event.
  
  Link to coupon:  
  <http://d46.demo.civicrm.org/civicrm/event/register?reset=1&id=3>
  Link to event where coupon should be applying:
  <http://d46.demo.civicrm.org/civicrm/cividiscount/discount/edit?&id=1&reset=1>
  
  The event is not auto-discounted.
  
  The ideal answer would point out what's wrong with my configs, and fix it on the demo site to prove that your answer works. Thanks!
  
  ![Coupon Config](https://i.sstatic.net/nO5Bt.jpg)
  ![enter image description here](https://i.sstatic.net/d5DAD.jpg)
  
  **Tags:** cividiscount
  
  > **Comments:**
  > **username_1**: I'll verify this behavior on the demo site .... neither automatic contact-type discounts nor membership discounts are working.  There are comments in the githhub queue about this: https://github.com/dlobo/org.civicrm.module.cividiscount/issues  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-05-15. Score: 1
  
  This may not a long-term fix, but I found a fix in the CiviDiscount github issue tracker.
  
  The underlying problem: CiviDiscount source will not apply discounts to events with no coupon entered.
  
  The fix: Add exceptions so that CiviDiscount will apply auto-discounts even if no coupon is entered.
  
  Here is a link to the fix, hopefully this fix or a comparable fix will make it into the next version release.
  
  <https://github.com/dlobo/org.civicrm.module.cividiscount/pull/98>
  
  > **Comments:**
  > **username_2**: Old issue with a couple of [PRs](https://github.com/dlobo/org.civicrm.module.cividiscount/pull/120), but I still can't get the automatic discount to work.  
  
  ---
  
  