Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Getting error after integrated Magento with AEM version 6.5

Avatar

Level 3

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.

 

jadhavni3_0-1603103719886.png

 

Please suggest.

Thank you,
Nitin.

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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/c...

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

 

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

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/c...

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

 

 

 

Avatar

Level 3

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.

 

 

jadhavni3_0-1603968074790.png