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

[Order] Add cart summary event #14565

Merged
merged 1 commit into from Nov 22, 2022

Conversation

NoResponseMate
Copy link
Contributor

Q A
Branch? 1.13
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets fixes #14127
License MIT

Added two events that are dispatched when accessing a cart:

  • sylius.order.show same as all other resources on show
  • sylius.cart_summary specifically for this route

Similar approach has been done within saveAction where we get the default resource-based update event as well as sylius.cart_change.

@NoResponseMate NoResponseMate requested a review from a team as a code owner November 21, 2022 15:39
@GSadee GSadee added Feature New feature proposals. Shop ShopBundle related issues and PRs. labels Nov 22, 2022
@GSadee GSadee merged commit 98513c8 into Sylius:1.13 Nov 22, 2022
@GSadee
Copy link
Member

GSadee commented Nov 22, 2022

Thank you, Jan! 🎉

@NoResponseMate NoResponseMate deleted the cart/show-event-on-summary branch November 22, 2022 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event missing on /cart/
2 participants