Getting a JavaScript Error on Add to Cart
-
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘lineItems’)
at Z (shopwp-components_components_products_product_buy-button_index_jsx.d2e5483a.min.js:1:3960)
at shopwp-components_components_products_product_buy-button_index_jsx.d2e5483a.min.js:1:7150
at f (vendors-public.d2e5483a.min.js?ver=1641541462:2:172573)
at Generator._invoke (vendors-public.d2e5483a.min.js?ver=1641541462:2:172361)
at Generator.next (vendors-public.d2e5483a.min.js?ver=1641541462:2:172998)
at r (vendors-public.d2e5483a.min.js?ver=1641541462:2:256106)
at a (vendors-public.d2e5483a.min.js?ver=1641541462:2:256309)
at vendors-public.d2e5483a.min.js?ver=1641541462:2:256368
at new Promise (<anonymous>)
at vendors-public.d2e5483a.min.js?ver=1641541462:2:256249
Z @ shopwp-components_components_products_product_buy-button_index_jsx.d2e5483a.min.js:1
(anonymous) @ shopwp-components_components_products_product_buy-button_index_jsx.d2e5483a.min.js:1
f @ vendors-public.d2e5483a.min.js?ver=1641541462:2
(anonymous) @ vendors-public.d2e5483a.min.js?ver=1641541462:2
(anonymous) @ vendors-public.d2e5483a.min.js?ver=1641541462:2
r @ vendors-public.d2e5483a.min.js?ver=1641541462:2
a @ vendors-public.d2e5483a.min.js?ver=1641541462:2
(anonymous) @ vendors-public.d2e5483a.min.js?ver=1641541462:2
(anonymous) @ vendors-public.d2e5483a.min.js?ver=1641541462:2
onClick @ shopwp-components_components_products_product_buy-button_index_jsx.d2e5483a.min.js:1
ki @ react-dom.min.js?ver=16.13.1:176
ji @ react-dom.min.js?ver=16.13.1:13
mi @ react-dom.min.js?ver=16.13.1:13
lf @ react-dom.min.js?ver=16.13.1:13
wi @ react-dom.min.js?ver=16.13.1:187
Kd @ react-dom.min.js?ver=16.13.1:32
pc @ react-dom.min.js?ver=16.13.1:32
Wf @ react-dom.min.js?ver=16.13.1:34
(anonymous) @ react-dom.min.js?ver=16.13.1:236
uf @ react-dom.min.js?ver=16.13.1:15
Qd @ react-dom.min.js?ver=16.13.1:42
sc @ react-dom.min.js?ver=16.13.1:41
unstable_runWithPriority @ react.min.js?ver=16.13.1:25
Da @ react-dom.min.js?ver=16.13.1:60
mk.Events.current @ react-dom.min.js?ver=16.13.1:236
Ei @ react-dom.min.js?ver=16.13.1:41
- The topic ‘Getting a JavaScript Error on Add to Cart’ is closed to new replies.