There are two types of discounts: general discounts and membership discounts.
General Discount
A general discount applies to a specific course. It is set in Advanced settings in the Pricing tool, General discounts tab:
You can either set a discount in percents or set a specific amount in any currency that is used in your environment.
Membership Discount
Another type of discount is a membership discount, which is a type of discount that applies to a specific user group, role, or organization. It is set in the Discounts tab of the main view of a Pricing tool. If a user has an overlap of membership discounts, the highest one will be applied.
For it to apply, make sure that the corresponding setting should be toggled in Advanced settings of a course, learning path, or event (it is by default).
Managing Discounts
You can disable/enable all existing membership discounts at once or toggle each separately in the Discounts tab of the Pricing app.
A general discount and membership discounts can be active simultaneously for one user - they will be summarized.
Metadata fields
Metadata fields can also be found in the Metadata tab, where you can define what metadata to send to the payment processing provider.