Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTHAB-178: Membeship Type product discounts custom field #965

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

erawat
Copy link
Member

@erawat erawat commented Aug 25, 2023

Overview

This pull request adds

  • Membership Type to the cg_extend_objects option group so, custom fields can be created against the membership type entity. The value will only be created if it does not exist.
  • Add product discounts custom field to the membership type.

Before

Feature didn't exist.

After

screenshot-btha localhost_9011-2023 08 25-09_18_10

Technical Details

The custom field was created and exported using CiviCRM v4. I added the check to ensure that the entity can only be installed if membership type value existed in cg_extend_objects option value.

@erawat erawat force-pushed the BTHAB-178-membership-type-custom-field branch from 5b5dafe to 5a4c031 Compare August 25, 2023 09:15
@erawat erawat force-pushed the BTHAB-178-membership-type-custom-field branch from 5a4c031 to 9609a9e Compare August 25, 2023 09:27
@erawat erawat merged commit 49733f1 into BTHAB-3-workstream Aug 25, 2023
2 checks passed
@erawat erawat deleted the BTHAB-178-membership-type-custom-field branch August 25, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants