Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Getting error after integrated Magento with AEM version 6.5

jadhavni3
Level 3
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
dgordon86
Correct answer by
Employee
Employee

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
dgordon86
Correct answer by
Employee
Employee

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

jadhavni3
Level 3
Level 3

Hi @dgordon86,

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