Getting error after integrated Magento with AEM version 6.5 | Community
Skip to main content
Level 3
October 19, 2020
Solved

Getting error after integrated Magento with AEM version 6.5

  • October 19, 2020
  • 1 reply
  • 1828 views

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.
Best answer by Daniel_Gordon

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

 

 

 

1 reply

Daniel_Gordon
Adobe Employee
Daniel_GordonAdobe EmployeeAccepted solution
Adobe Employee
October 19, 2020

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

 

 

 

jadhavni3Author
Level 3
October 29, 2020

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.