zengenuity / civicrm_groupprice

CiviCRM extension that allows you to limit the display of individual prices in price sets to specific groups. This can be used to implement members-only pricing for events, as well as other use cases.
Other
3 stars 9 forks source link

Options Not Showing up When Multiple Groups Selected #13

Open bactheatre opened 2 years ago

bactheatre commented 2 years ago

CiviCRM 5.40, Wordpress

The extension works great! It's been a real lifesaver. But for some reason, if we select multiple groups for a price option, that option stops showing up. To recreate:

  1. Create a price option
  2. Edit the price option, select multiple Groups from the "Limit Price Option To:" field
  3. Visit the event registration as a logged-in member of one of those groups
  4. See that there is no option visible

The Groups in question are mostly Smart Groups. Looking at the code, it looks like that fact might be relevant.

Please let me know if I can provide any more information!