Skip to content

Magento 2: After magento version uprgade Order Items not getting added to cart in Admin

I have upgraded my Magento website from version 2.3.6 to 2.4.7-p2. After the upgrade, I am unable to place orders from the Admin panel. Specifically, Magento does not allow me to add products to the cart. I am trying to create a new order for a particular customer, but I’m unable to add the selected products. This issue did not occur before the upgrade, and the default functionality of Magento is not working as expected.

When I select some products and try to add them to the shopping cart, the page refreshes, but the products do not get added, and the “Add Product” button disappears from the admin page.

Here are the steps to reproduce the issue when creating an order for a customer in the Admin panel:

  1. Navigate to Customers -> Edit -> Create Order.
  2. Click on “Add Products” and then “Add Selected Products to Order.”

Issue: Following the steps above results in no products being added to the order, and the “Add Products” button disappears. After this, if I refresh the page, it takes me back to the Admin login screen.

enter image description here

I have performed all necessary checks and found no broken scripts in the Network section, nor any errors in the console. I also checked the logs but did not find any reported errors in the log files.

I would greatly appreciate any suggestions. Thank you in advance!