title | issue |
---|---|
re-evaluate rules in order context |
NEXT-18066 |
- Changed the
getContext
function inShopware\Core\Checkout\Order\Listener\OrderStateChangeEventListener
to rebuild the order context. - Changed the functions to use the
restoreByCustomer
function to restore the customer context in:accept
anddecline
functions inShopware\Core\Checkout\Customer\Api\CustomerGroupRegistrationActionController
dispatchCustomerRegisterEvent
anddispatchCustomerChangePaymentMethodEvent
functions inShopware\Core\Checkout\Customer\Subscriber\CustomerFlowEventsSubscriber
- Changed the functions to use the
CartRestore::restore
insteadSalesChannelContextRestorer::restore
in:loginByCustomer
function inShopware\Core\Checkout\Customer\SalesChannel\AccountService
login
function inShopware\Core\Checkout\Customer\SalesChannel\LoginRoute
- Added the
restoreByOrder
function inShopware\Core\System\SalesChannel\Context\SalesChannelContextRestorer
to restore the SaleChanelContext by order id. - Added the
restoreByCustomer
function inShopware\Core\System\SalesChannel\Context\SalesChannelContextRestorer
to replace the SaleChanelContext by customer id. - Added the
CartRestore
class inShopware\Core\System\SalesChannel\Context\CartRestore
to replace therestore
function inShopware\Core\System\SalesChannel\Context\SalesChannelContextRestorer
- Deprecated the
restore
function, useCartRestore::restore
function instead.