Body: <p>I note that a <a href="https://civicrm.stackexchange.com/q/21497/2744">similar question</a> was asked several years ago here and the answer then was that it did not. I am wondering if the situation has changed since then.</p>
  <p>Our case is that we would like to offer a fixed discount to members electing to go paperless for our publications. Obviously we would need to do SmartGroup searches that excluded those members to send to the mailing house. Does CiviDiscount provide any searchable marker to indicate if a discount is currently in force?</p>
  <p>Our fall-back would be to create two versions of each class of membership, but that seemed like a somewhat inelegant solution if CiviDiscount could do the job.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-12T19:38:14.173Z
Comments.Text: can you add a link to the 'similar question'.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-12T19:44:28.387Z
Comments.Text: good question. i can't spot anything. contacts have the 'code redeemed' tab but no way to search on this. afaik no Activity is created. CiviRules can't be triggered by a discount afaik (but might be one way to 'catch' such info)
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-12T19:49:43.633Z
Comments.Text: Here's the previous question:   https://civicrm.stackexchange.com/q/21497/2744
Comments.UserDisplayName: de Oldphart
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-13T03:50:52.717Z
Comments.Text: if you don't have a whole lot of Memb types could you just set up a Smart Group based on the amount they actually pay?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-13T11:37:31.287Z
Comments.Text: I had considered price-based Smart Groups but we do have a fair number of membership types and we are raising the price, so we need the old prices and the new prices for most of the year. Gets messy.
Comments.UserDisplayName: de Oldphart
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-13T20:20:25.457Z
Comments.Text: i think the idea of being able to search for any contribution that involved a Discount seems entirely sensible but clearly wasn't on the developers list. am sure someone can add it if there are available funds to do so. it may not be hard.
Comments.UserDisplayName: petednz - fuzion
Tags: <cividiscount>
Title: Does CiviDiscount leave a SmartGroup-searchable marker on membership or contact record?
ThreadText: # Does CiviDiscount leave a SmartGroup-searchable marker on membership or contact record?
  
  (Asked by: username_0 on 2021-08-12)
  
  I note that a [similar question](https://civicrm.stackexchange.com/q/21497/2744) was asked several years ago here and the answer then was that it did not. I am wondering if the situation has changed since then.
  
  Our case is that we would like to offer a fixed discount to members electing to go paperless for our publications. Obviously we would need to do SmartGroup searches that excluded those members to send to the mailing house. Does CiviDiscount provide any searchable marker to indicate if a discount is currently in force?
  
  Our fall-back would be to create two versions of each class of membership, but that seemed like a somewhat inelegant solution if CiviDiscount could do the job.
  
  **Tags:** cividiscount
  
  > **Comments:**
  > **username_1**: can you add a link to the 'similar question'.  
  > **username_1**: good question. i can't spot anything. contacts have the 'code redeemed' tab but no way to search on this. afaik no Activity is created. CiviRules can't be triggered by a discount afaik (but might be one way to 'catch' such info)  
  > **username_0**: Here's the previous question:   https://civicrm.stackexchange.com/q/21497/2744  
  > **username_1**: if you don't have a whole lot of Memb types could you just set up a Smart Group based on the amount they actually pay?  
  > **username_0**: I had considered price-based Smart Groups but we do have a fair number of membership types and we are raising the price, so we need the old prices and the new prices for most of the year. Gets messy.  
  > **username_1**: i think the idea of being able to search for any contribution that involved a Discount seems entirely sensible but clearly wasn't on the developers list. am sure someone can add it if there are available funds to do so. it may not be hard.  
  
  ---
  
  ## 0 answers
  
  