Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CartDuplicationEvent to provide both original and duplicated cart to listeners #1970
This PR introduces the CartDuplicationEvent, which stores the original cart so that listeners will get both duplicated and original carts.
Currently, only the duplicated cart is passed, and the listeners have no simple way to get the original one.
CartDuplicationEvent extends CartEvent, thus preserving BC.