You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems Magento 2, when you click Create New Customer, does not navigate the page and loads in the order form blocks. However, if you then refresh the page, it goes directly into creating order with new customer (as one would expect), but then PCA Predict crashes the Javascript on the page with:
ReferenceError: Can't find variable: order
It seems there is no dependency on the forms.js file that creates window.order in the PCA Predict code, or any check that it has been initialised, and tries to access it before the page is fully loaded, crashing out the Javascript and making the page unusable.
I would guess it just needs a check for window.order in the code that calls loadPca.
The text was updated successfully, but these errors were encountered:
Seems Magento 2, when you click Create New Customer, does not navigate the page and loads in the order form blocks. However, if you then refresh the page, it goes directly into creating order with new customer (as one would expect), but then PCA Predict crashes the Javascript on the page with:
It seems there is no dependency on the forms.js file that creates window.order in the PCA Predict code, or any check that it has been initialised, and tries to access it before the page is fully loaded, crashing out the Javascript and making the page unusable.
I would guess it just needs a check for window.order in the code that calls loadPca.
The text was updated successfully, but these errors were encountered: