Getting error after integrated Magento with AEM version 6.5 | Community
Skip to main content
Level 3
Oct 19, 2020 10:37 AM UTC
Solved

Getting error after integrated Magento with AEM version 6.5

Hi,

I'm trying add product in cart but getting error as "Error: Network error: Unexpected token < in JSON at position 0" while adding on it. For reference please find attached screenshot.

 

 

Please suggest.

Thank you,
Nitin.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Daniel_Gordon
Daniel_GordonAccepted solution
Employee
Oct 19, 2020 5:54 PM UTC

Hi @jadhavni3  some features like the Shopping cart capability connect out to Magento directly from the client side. To handle this on AEM 6.5 you would add an Apache web server + dispatcher to reverse proxy to the Magento back end. Here is a video tutorial: https://www.adobe.io/apis/experiencecloud/commerce-integration-framework/tutorials.html#!AdobeDocs/commerce-cif-documentation/master/tutorials/03-shopping-cart-dispatcher.md.

Technical documentation: https://github.com/adobe/aem-core-cif-components/tree/master/dispatcher

 

 

 

2 replies

Daniel_Gordon
Daniel_GordonAccepted solution
Employee
Oct 19, 2020 5:54 PM UTC

Hi @jadhavni3  some features like the Shopping cart capability connect out to Magento directly from the client side. To handle this on AEM 6.5 you would add an Apache web server + dispatcher to reverse proxy to the Magento back end. Here is a video tutorial: https://www.adobe.io/apis/experiencecloud/commerce-integration-framework/tutorials.html#!AdobeDocs/commerce-cif-documentation/master/tutorials/03-shopping-cart-dispatcher.md.

Technical documentation: https://github.com/adobe/aem-core-cif-components/tree/master/dispatcher

 

 

 

Translate
jadhavni3Author
Level 3
Oct 29, 2020 10:34 AM UTC

Hi @daniel_gordon,

I have checked it using IIS server but getting same error. Also, I'm unable to see product images on web page. For reference please find below screenshot. 

 

Please suggest.

 

Thank you.

 

 

 

Translate