Search code examples
magento

Add a shopping cart in guest mode, and then register a new account, the additional_options of the shopping cart will be deleted,?


Preconditions and environment Magento version:2.3.7

Steps to reproduce: Add to cart as a visitor Register a new account Some specifications of the shopping cart: info_buyRequest, additional_options are missing

Expected result: Create a new account, the specifications of the shopping cart added as a guest should exist instead of being changed

Actual result: Some specifications of the shopping cart: info_buyRequest, additional_options are missing

GitHub link:enter link description here


Solution

  • i get,最新版magento2.4:vendor\module-checkout\Model\Session.php 有了修复,同步最新版即可