It is not possible to view what a registered customer has in their shopping cart in Magento CE 2.1.0.
This functionality was available in the Magento 1.* and it does look like some provision has been made for it in version 2 as these files exist:
./vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Carts.php
./vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Cart.php
./vendor/magento/module-customer/Controller/Adminhtml/Index/Carts.php
However there is no corresponding "CartsTab" file to actually add it to the admin screen.
Registered Customer
Install a standard Magento 2.1 setup
See no-existence of Shopping Cart tab
At Step 5 above I would expect to a tab labelled Shopping Cart where I can view the products that are in the customers cart
As step 5 above there is no tab for Shopping Carts
You should be able to see this functionality by clicking on the Manage Shopping Cart page (2nd link from the right)
Manage Shopping Cart
Can you confirm what version that is? I don't have that link on my CE 2.1.0 install.
Hi,
Any update on this?
Alex
same problem here. No cart link in admin.
Hi, Manage Shopping Cart button is available in EE version only both in 1.x and 2.x
That is not true. In Magento CE 1.x you can view the customers shopping cart in the admin area.
I meant Manage Shopping Cart functionality. View cart is not available in M2 CE
So my original report still stands: "Customer Admin Shopping Cart View Missing"
This functionality is not available anymore in M2
Why not? I now have to explain to a client why Magento 2 has less features than Magento 1. Also why has it been partly implemented as my original post describes?
In addition to the above, which also suggests that this functionality is intended to be in Magento CE 2.x is the fact that if you go to the "Abandoned Carts" report, and then click on one of the rows for a registered customer it tries to redirect you to a link like:
admin_xxx/customer/index/edit/id/159/active_tab/cart/key/xxxxxxxxxxxxxxxxxxxxxx
Where you actually end up is at the "Customer View" tab because the "Cart" is only partially implemented.
Will this now be flagged as a bug as it is fairly obvious as this functionality was intended to be part of Magento CE 2.x?
Any update on this?
also I need update
Any update on this?
Hi, we are in progress.
This is much needed functionality. If we want to send out a mail to the customer on the cart items he/she has, it becomes difficult since this information is not available. Please let us know the plan for bringing this back. We are on M2.1.1
@ilol any updates on this fix?
@ilol .. Hi .. is there any update on this issue? Our client is not able to view the Abandoned cart items after it redirects to the customer view page.
Any updates on this?
checking in for updates :)
Update?
Hi guys,
A small module to fix it : https://github.com/pfortin-expertime/MageFix-Customer#magefix-customer
Feel free to enhance it ;)
Thanks @pfortin-expertime ! Will try it out soon.
You can check customer's cart when you will click create order during customer view it will show under customer's Activities in M2 CE
+1 any update?
I'm also having same issue. Code is having reference to show cart in customer tabs.
Why is it not visible in admin panel.
@alexgoodey, thank you for your report.
This seems to be correct Magento behavior. Please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this.
Otherwise you may submit Pull Request with the suggested changes.
Does this mean that if we create the functionality you will merge it into the open source/community edition? Or is it only going to be for EE?
Not really a fix or anything, but if you press the "Create Order" button it will show the items on the cart on that page.
Thanx @Aresinho
Please refer to the Community Forums for discussion about this feature. The GitHub issue tracker is intended for Magento Core technical issues only.
Hi @alexgoodey
A pull request https://github.com/magento/magento2/pull/20918 has been made to enable the 'Shopping Cart' tab for customers.
This should be soon processed and possibly the change should be available in any version of 2.3.x series.
The possibility starts with 2.3.1 :wink:
:white_check_mark: Confirmed by @engcom-backlog-nazar
Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-99119
were created
Issue Available: @engcom-backlog-nazar, _You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself._
Hi Guys
The pull request https://github.com/magento/magento2/pull/20918 from us to fix this problem is taking time to get processed.
So we have extracted changes from the pull request and packaged them in an extension. It is available here https://github.com/redchamps/customer-shopping-carts-tab . Please feel free to use it till the time change is available in Magento 2 core.
Hi @alexgoodey. Thank you for your report.
The issue has been fixed in magento/magento2#20918 by @rav-redchamps in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.3 release.
Note https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php#L248 is currently bugged -- if the customer being viewed has no active quote, the collection will only be filtered by parent_item_id is null
, and you'll get all parent items for all customers and quotes. Which is not right.
$quote = $this->getQuote();
if ($quote) {
$collection = $quote->getItemsCollection(false);
} else {
$collection = $this->_dataCollectionFactory->create();
}
$collection->addFieldToFilter('parent_item_id', ['null' => true]);
$this->setCollection($collection);
Hello @rhoerr
This issue has been fixed in #20918 by @rav-redchamps in 2.3-develop branch.I have to close this issue.
Your comment looks like as a separate issue. Can you create a new issue?
Thanks for contributing!
Most helpful comment
Hi, we are in progress.