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

Apply dynamic discounts #869

Closed
cbellone opened this issue Feb 12, 2020 · 0 comments
Closed

Apply dynamic discounts #869

cbellone opened this issue Feb 12, 2020 · 0 comments
Assignees
Milestone

Comments

@cbellone
Copy link
Member

cbellone commented Feb 12, 2020

Replaces #220

With this feature it will be possible to generate dynamic discounts by using an extension.

The extension is invoked on the event page, when the number of selected tickets changes, if the current selection involves one or more categories having price > 0

If the extension returns a discount > 0, the user is then notified that a discount will be applied to the current reservation:

image

and the discount will then be displayed on the overview page:

image

In order to update the default "Discount" text, the following text must be customized:

reservation.dynamic.discount.description

@cbellone cbellone added this to the 2.0-M3 milestone Feb 12, 2020
@cbellone cbellone self-assigned this Feb 12, 2020
cbellone added a commit to alfio-event/alf.io-public-frontend that referenced this issue Feb 13, 2020
cbellone added a commit that referenced this issue Feb 16, 2020
cbellone added a commit that referenced this issue Feb 16, 2020
cbellone added a commit that referenced this issue Feb 16, 2020
cbellone added a commit to cbellone/alf.io that referenced this issue Feb 16, 2020
cbellone added a commit to cbellone/alf.io that referenced this issue Feb 16, 2020
cbellone added a commit to cbellone/alf.io that referenced this issue Feb 16, 2020
syjer pushed a commit that referenced this issue Feb 16, 2020
* support dynamic discounts (cherry-picked from M2)

* #869 add fixed price discounts per reservation

* #869 update text

* #869 update frontend version
@cbellone cbellone closed this as completed Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant