-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento 2.2.6: cookies.js blocked > Minicart not working, infinite checkout loader. #18636
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
Comments
Hi @NostiLoke. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @NostiLoke do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento-engcom-team give me 2.2.6 instance |
Hi @NostiLoke. Thank you for your request. I'm working on Magento 2.2.6 instance for you |
Hi @NostiLoke, here is your Magento instance. |
The issue is reproduceable. Reason is an entry in the Fanboy's Annoyance List |
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Which should be changed there. Not an issue on our side. |
the cookies.js is also blocked in magento 1.9., but this doesn't break the checkout. |
Yes it is a required dependency for other modules and to handle the cookies. There might be (good) reasons why they added it to the blocklist. |
See https://github.com/magento/magento2/blob/2.3-develop/lib/web/mage/cookies.js. |
Not sure why this was added just because of one website / domain. |
Also see ryanbr/fanboy-adblock#532 and easylist/easylist@cc91406 |
Uh oh!
There was an error while loading. Please reload this page.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Adblock activated. After page load "/mage/cookies.js net::ERR_BLOCKED_BY_CLIENT"

[ERROR] Failed to load the "Magento_Checkout/js/view/minicart" component.
After adding article to cart, minicart is shown as empty (and with no numer).

After opening the /checkout/ manually - cookies.js still is blocked, loader doesn't disapear

Similar issues where "real tracking" was blocked, but not cookies.js:
Solutions don't help with this issue:
Checkout 'hangs' in paymentstep when adblocker blocks Magento google-analytics javsascript file. #11208
Fix infinite checkout loader when some script wasn't loaded correctly because of network error #14874
The text was updated successfully, but these errors were encountered: