Member rules (Umbraco 15.2)

Lets pretend we have two memberships (With the rule that you must either have the membership product in your basket OR you are having a session with an active membership.) . Now in terms of quantity i have the following question.

Membership A: Members receive a discount on the first two units of any selected product. If they purchase more than two units, the additional units are sold at the regular price.

Membership B: Members receive a discount on the first five units of any selected product. Any units purchased beyond the first five are priced at the regular rate.

Is this possible?

This is really important for a product we’re building.

You have a couple of options really.

One you can override the Product Adapter to return calculated prices. An example of which can be found in the docs here Implementing Member Based Pricing | Umbraco Commerce

The second is that you may be able to do this with the Member discount rule, but it might be that you need to write a custom discount reward provider. You can find some docs on these here Discount Rules / Rewards | Umbraco Commerce

Hope this helps