Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2.1.11 CE ADD TO CART is stuck on ADDING ... #13403

Closed
Baracuda011 opened this issue Jan 28, 2018 · 6 comments
Closed

Magento 2.1.11 CE ADD TO CART is stuck on ADDING ... #13403

Baracuda011 opened this issue Jan 28, 2018 · 6 comments
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@Baracuda011
Copy link

Baracuda011 commented Jan 28, 2018

Preconditions

  1. Magento 2.1.11 CE (upgraded from 2.1.3)
  2. PHP 7.0 on CentOS 6
  3. Block HTML and Full Page Cache disabled
  4. Redis cache disabled
  5. Memcache disabled
  6. Varnish not installed on the server

Steps to reproduce

  1. Click ADD TO CART from the home page products grid
  2. Click ADD TO CART from category page products grid
  3. Click ADD TO CART from products details page

Expected result

  1. Product should be added to cart like before the upgrade

Actual result

It's adding it indefinitely. Also, no console error, and nothing in REPORTS and LOG folders on the server.

add to cart 01

This is a screenshot from the home page. Same thing happens from any where you can add product to cart.

add to cart 02

Empty popup does not appear every time.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jan 28, 2018
@RahulBhut21
Copy link

@Baracuda011 check the Javascript or jquery error in console and networking tab

@Baracuda011
Copy link
Author

@RahulBhut21 thanks for the reply, but I already mentioned in the ACTUAL RESULTS there was no console errors.

@Baracuda011
Copy link
Author

Baracuda011 commented Jan 29, 2018

Just to update my observation. What happened just now is that after blank popup appeared, I got following JS (/Magento_Customer/js/customer_data.js) error:

customer-data.js:86 Uncaught Error: [object Object]
at Object. (customer-data.js:86)
at fire (jquery.js:3232)
at Object.fireWith [as rejectWith] (jquery.js:3362)
at done (jquery.js:9842)
at XMLHttpRequest.callback (jquery.js:10311)

    getFromServer: function (sectionNames, updateSectionId) {
        var parameters;

        sectionNames = sectionConfig.filterClientSideSections(sectionNames);
        parameters = _.isArray(sectionNames) ? {
            sections: sectionNames.join(',')
        } : [];
        parameters['update_section_id'] = updateSectionId;

        return $.getJSON(options.sectionLoadUrl, parameters).fail(function (jqXHR) {
            throw new Error(jqXHR); <= here (line #86)
        });
    }

@magento-engcom-team
Copy link
Contributor

@Baracuda011 , thank you for your report.
We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce or try to reproduce this issue on a clean installation.

@magento-engcom-team
Copy link
Contributor

@Baracuda011, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.

@michapietsch
Copy link

Right now I experience this behavior in v2.2.3 on two systems:

  • one set up via composer create-project, bin/magento sampledata:deploy and bin/magento setup:install
  • the other using the zip file with sample data and the web setup wizard

No errors in the Network tab or on the console. Requests finish successfull. The basket is still empty after a page reload.

PHP 7.1 and Apache 2.4 on MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

4 participants