Hello,
When I do a add to cart, nothing happend.
I have this error in the console:
*TypeError: window.checkout is undefined*
For: images.js & minicart.js
Thank you for the help.
Hello @alain_picard
can you please provide more information for the same?
which js and which line
Hello,
Here's the errors I have in the console...
- SyntaxError: expected expression, got ';' on my product pages
- TypeError: window.checkout is undefined. images.js 15:13
- TypeError: window.checkout is undefined. authentication-popup.js 26:13
- Error:status 400. price-widget 1279:17
Hello @alain_picard
check this line SyntaxError: expected expression, got ';' on my product pages and check that is some expression issue.
Seems like some comma issue, you need to check your theme code and try to check with default luma theme so you know your theme issue.
Hope it will help you.
Hello, I can see the issue seem to come from: minicart.phtml at line 42 or so...
I get this error on all pages...
<script> window.checkout = <?php /* @escapeNotVerified */ echo \Zend_Json::encode($block->getConfig()); ?>; </script>