Add-ons and membership plugin not working ok - add-ons being discounted when they shouldn't

Issue #575 resolved
Valentina R created an issue

Can be reproduced on:

  • Memberships 1.15.1
  • Appointments 4.6.2

The problem is only with appointable products and works ok with simple products.


Example for simple product and appointable products with same settings:

  • Product price is 1000€. Add-on with 250€, with 400€, and with 1000€.
  • A membership plan of 400€ discount is used in the example.

The product price is 600€ for members in both cases. That’s ok.

For simple product, when selecting any add-on, it adds the total price of the addon to the price, for example, the add-on for 1000€ produces 1600€ (600 + 1000). That’s ok.

For appointable product, when selecting any add-on, the discount is getting applied again to the add-ons. Example for the add-on of 1000€ produces 1200€ (600 + 600) which is incorrect. It should be the same as for the simple product.


Reported here.

Comments (1)

  1. Log in to comment