0
main.js:37 TypeError: Cannot read property 'quoteData' of undefined
at quote.js:33

This error is appearing in the browser console and is happening on several pages. Mainly on the registration page. The error is preventing masks from being applied to fields.

What i tried:

Based on this question, I tried to add "domReady!" in the define section, but it didn't work.

I also tried to add $(document).ready(function() into the file, although it fixed, several other errors started appearing in Checkout, from other files that depend on quote.js.

3
  • do you have any custom extensions installed? Aug 18, 2021 at 17:15
  • Check in your quote.js "quoteData" var is define or not. Aug 19, 2021 at 5:52
  • Try to disable all third party extension, then enable one by one and check from which this error comes. Aug 19, 2021 at 6:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.