-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cannot read property 'sectionLoadUrl' of undefined #56
Comments
Do you have a staging/QA server you can deploy this to so I could take a look? Without stack traces it's hard to know what's going on |
We have no public staging server :( Do you have include minicart in your build.js? The problem is that the script cannot access the data provided in the html.
The sectionLoadUrl is not availaible when the minicart is loaded using the bundle. |
Do you have the bundled Paypal modules included (login/payment)? I believe there was a bug in there that I reported to them. If yes, I can dig up what the fix was. Was a place where |
Ran into this issue on Magento 2.3.1, worked fine on 2.3.0. Magento_Checkout/js/view/summary seems to be initiated before the customer-data constructor function is called. Any thoughts @DrewML? |
The issue comes due to that We probably need to think of a way of getting customerData ready earlier or not using it in init functions cause they can be called before the x-mage-init is called. |
Hey,
very nice tool .. real time saver!
Magento: 2.3.1
With the automatic generation I have 2 files that won't work. I think they are loaded to early. I removed them via empty .. then it works.
"Magento_Checkout/js/model/totals": "empty:",
"Magento_Checkout/js/view/minicart": "empty:"
Would be nice if you can integrate a solution.
Regards
Marcus
The text was updated successfully, but these errors were encountered: