Skip to Content
author's profile photo Former Member
Former Member

Products are not added to the cart even having stock

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.alt text

I appreciate your suggestions.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 20, 2018 at 04:34 PM

    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 ./ -r b2c_b2b_acc initialize depending on your O/S as mentioned at 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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.