Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 556 Bytes

2021-06-19-suppress-confusing-cart-merge-flash-message-after-login-when-not-appropriate.md

File metadata and controls

10 lines (10 loc) · 556 Bytes
title issue author author_email
Suppress confusing cart merge flash message after login when not appropriate
NEXT-16482
Axel Guckelsberger
axel.guckelsberger@guite.de

Core

  • Changed constructor of Shopware\Core\Checkout\Cart\Event\CartMergedEvent to accept a previous cart.
  • Added method Shopware\Core\Checkout\Cart\Event\CartMergedEvent::getPreviousCart().
  • Changed method Shopware\Core\System\SalesChannel\Context\SalesChannelContextRestorer::mergeCart() to provide the CartMergedEvent with the previous cart and not clone errors