cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Products are not added to the cart even having stock

Former Member
0 Likes
937

Hi Experts,

I am facing a situation in my storefront when I add products to the cart, even having stock available the cart show "Quantity added 0" no matter how many items I add. This situation happens with all the items. I am using a B2B/B2C recipe in relese 6.7.

Please find attached the image.

I appreciate your suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

It is unusual but anything (even JavaScript, brower support etc.) can be the root cause and it can be found out only with the thorough analysis of the code, data and log in your hybris. Please clear the cookies in your browser, use a new browser window, use a modern browser e.g. chrome, check with a fresh cart etc.

If it's happening with a fresh installation using b2c_b2b_acc recipe, I suggest you re-install it (i.e. re-run install.bat - r b2c_b2b_acc initialize or ./install.sh -r b2c_b2b_acc initialize depending on your O/S as mentioned at https://help.hybris.com/1808/hcd/8c46c266866910149666a0fe4caeee4e.html). If you are working on a customized store, please check with the developers in your team if some kind of business logic (e.g. personalization, a check based on a certain quantity of items in stock pr cart etc.) has been implemented which is restricting the addition of new items in the cart.

Also, you can attach the log file from hybris/log/tomcat folder for analysis.

Former Member
0 Likes

Thanks Arvind for your analysis, after several revision I decided to reinitialize the installation and now apparently is working fine.

arvind-kumar_avinash
Active Contributor
0 Likes

You are most welcome.

Answers (0)