Bundle discount override ability.

Created on 2 November 2022, over 1 year ago
Updated 17 February 2023, over 1 year ago

Problem/Motivation

In our case we need to make bundle discounts optional in specific cases, there is no adequate mechanism to override discounts.

Another thing that I put in this issue but it probably should be split out into two issues is a calculation of bundle price in "order_price_calculator" context. There is no mechanism to adjust addon prices, e.g. apply for promotion during calculation.

Proposed resolution

To create an event system that will handle bundle discount determination.

Remaining tasks

Created event system.

User interface changes

No changes

API changes

The only change is that bundle discounts will be taken during event dispatching.

✨ Feature request
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine dinazaur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine dinazaur

    Added temporary rounding down of item price, until #3323174 is fixed.

  • Status changed to Postponed: needs info over 1 year ago
  • The bundle discount cannot be changed by itself whatever changes are implemented would need to be compatible and the same as the group item price and the group price you'd have to refactor the whole thing together because they all work with one another. Also I'm going to need them far more clear description as to what exactly you're trying to accomplish, and this would also have to have approval of the other maintainer, any update hooks needed, and thorough test coverage.

Production build 0.69.0 2024