We’re experiencing an issue with the Cart componen...
# suitecommerce
m
We’re experiencing an issue with the Cart component, We are using PCV and it is SCS. The
Cart.addLine
method works as expected on MyAccount pages and Landing pages, but it’s not working on PLP pages. Interestingly, it does work on PLP when the Quick View modal is opened. it is showing an error 'Error occurred adding item to cart. Please try again.' and when to try log the error it is showing undefined Has anyone encountered this issue or knows what might be causing this behavior? Any insights would be greatly appreciated!
s
This works just fine on my test site. Does it happen in your extension as well as the browser developer console? What exactly is the code you're using?