cancel
Showing results for 
Search instead for 
Did you mean: 

We can't add this item to your shopping cart right now

We can't add this item to your shopping cart right now

Hello All,

 

Thanks in advance for the help. I just started adding products to a Magento 2 site with a theme. I have been working on the front end and now I want to start verifying the cart. I have 7 products added and I get this error and my shopping cart is empty -

"We can't add this item to your shopping cart right now"

 

I have done a lot of research and am fairly new to this. I can not find a solution. I am available anytime and eager to learn. Please help. This is now holding me up and the project is stalled. sad Smiley Sad

 

I have read to check error logs and I don't know what I am looking at, or for or how to read them. I have some code exp. but this is foreign to me.

 

Again thanks in advance.

5 REPLIES 5

Re: We can't add this item to your shopping cart right now

1. Is it happening only for random products?
2. Do you have anything in Magento logs/ Server logs?
3. Have you tried switching to the default theme or luma and faced the same issue?

Re: We can't add this item to your shopping cart right now

First of all, THANKS for the help.

 

1. Is it happening only for random products?

All of the products.


2. Do you have anything in Magento logs/ Server logs?

I have many but don't know what to show you, or how to read them. I tried that before and am lost in the document.

I can and will send you anything you need to look at.


3. Have you tried switching to the default theme or luma and faced the same issue?

I am afraid to switch things around in the luma or theme arena. I am new to php and it afraid to mess things up even more. I had template monster install it and everything seemed fine. i deleted all the template products and none of mine seem top work.

Re: We can't add this item to your shopping cart right now

Anyone able to help with this? I have not been able to find a solution yet.

 

Thanks

Re: We can't add this item to your shopping cart right now

Try to add product to you cart. And when it shows an error, just go to the var/log/exception.log and fine the most recent entry which is at the very bottom of the file.

Paste those lines here in order to be able to give you advice.

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue

Re: We can't add this item to your shopping cart right now

Hi Simsa,

I have the same problem here.

I am using Mageto 2.1.5. My shop works well with Xampp on Windows 10.
Now I am going to move to my host’s server; php 7.0.14, MySQL 5.6.33
At first I installed a fresh Magento-CE-2.1.5_sample_data-2017-02-20-05-07-23.

It worked, and after I entered my email address in the backend and myself as a customer in the frontend, I ordered something and I got my “Thank you for your order from Main Website Store” by email.

Then I tried my own shop. I got the message: We can't add this item to your shopping cart right now.
I thought that I had a bug in my theme or I introduced another bug elsewhere so I intended to use the perfectly working Luma-installation as a starting point. But today the beloved Luma corporation also refuses accepting orders … Reordering from my customer account the same item as two days before is possible and can be put into the cart. Adding something els: nope.

Another try: I used Magento-CE-2.1.5-2017-02-20-05-04-55 (without sample data) as well. I added my theme and imported my data into the related database. Same result.

The only thing that I can remember is that between March 11 and today I protected the sample shop domain and removed the protection the day after. Consequently you can access it here http://sample-data.shop-microtherm.com/
Try to put something into the cart. Do you see what I see?

Here are some of the latest entries in the debug.log (March 11 and today) :

[2017-03-11 15:29:42] main.DEBUG: cache_invalidate:  {"method":"POST","url":"http://sample-data.shop-microtherm.com/customer/account/createpost/","invalidateInfo":{"tags":["wish...} []
[2017-03-11 15:30:10] main.DEBUG: cache_invalidate:  {"method":"POST","url":"http://sample-data.shop-microtherm.com/checkout/cart/add/uenc/aHR0cDovL3NhbXBsZS1kYXRhLnNob3AtbWljcm...} []
[2017-03-11 15:32:51] main.DEBUG: cache_invalidate:  {"method":"POST","url":"http://sample-data.shop-microtherm.com/rest/default/V1/carts/mine/payment-information","invalidateIn...} []
[2017-03-13 08:24:43] main.DEBUG: cache_invalidate:  {"method":"POST","url":"http://sample-data.shop-microtherm.com/admin/admin/index/index/key/dd15ba6b6da52197c907646c590765829...} []
[2017-03-13 08:41:29] main.DEBUG: cache_invalidate:  {"method":"POST","url":"http://sample-data.shop-microtherm.com/sales/order/reorder/order_id/3/","invalidateInfo":{"identifie...} []

I tried often, however, there are a lot for March 11 but only three entries today.

I noted that in the file /vendor/magento/zendframework1/library/Zend/Cache/Backend.php 'cache_dir' => null is no more present in 2.1.5
That is, the former hint to replace it with 'cache_dir' => 'var/cache' is no more applicable as a try.

What else should I try or provide as informations?