Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Perhaps I am missing something, but I would like to be able to provide an automatic discount to any membership (public or admin) for a discount on an event registration, so these memberships should be selectable as well.
I did notice that the automatic member discount appears on membership pages, but is not appearing on event pages.
// get all membership types ordered by weight $membershipTypes = CRM_Member_BAO_MembershipType::getMembershipTypes();
// get all membership types ordered by weight $membershipTypes = CRM_Member_BAO_MembershipType::getMembershipTypes(FALSE);