RedirectDataPreprocessor
Magento\Checkout\Model\StoreSwitcher\RedirectDataPreprocessor
What it does
This class handles checkout data preservation when a customer switches between store views in Magento 2.
It ensures that guest customers' shopping cart data is properly transferred to the target store view by collecting the active quote ID during store switching.
Developers would use this when customizing multi-store checkout behavior or troubleshooting cart persistence issues across store views.
Public Methods
- process()