Javascript error when loading cart
-
Hi,
After migrating from the 3.6 (sync was suddlenty broken, error 500 and no product found) to the 4.0.17.
Sync is now functionnal, but the cart icon doesn’t appear with no errors.
But when i try to add a product in cart, i get this message in console :Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'lineItems') at Z (shopwp-components_components_products_product_buy-button_index_jsx.2bf4d807.min.js:1) at shopwp-components_components_products_product_buy-button_index_jsx.2bf4d807.min.js:1 at f (vendors-public.2bf4d807.min.js:2) at Generator._invoke (vendors-public.2bf4d807.min.js:2) at Generator.next (vendors-public.2bf4d807.min.js:2) at r (vendors-public.2bf4d807.min.js:2) at a (vendors-public.2bf4d807.min.js:2) at vendors-public.2bf4d807.min.js:2 at new Promise (<anonymous>) at vendors-public.2bf4d807.min.js:2
`
For informations, i have disconnect shopify from wordpress and get a new connection, and the app shopwp has been installed on shopify.
Do you have any idea about this error ?Thanks in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Javascript error when loading cart’ is closed to new replies.