
Abstract
In this article we will understand how we can bind the products in our AEMaaCs local instance. As things have been modified on usage of CIF with Archetype 24 and AEMaaCs.
For the configuration of the Magento endpoint and properties refer my article on archetype 24.
After doing all the configuration at http://localhost:4502/libs/cif/shell/content/configuration.html/conf//settings/cloudconfigs/commerce you might still not see the products under the commerce console in your local. Below is the error that shows up when you open the console.
This is because our AEM instance canโt access the Cross origin graphql proxy endpoint of magento that we configured earlier.
To get the products binded into your AEM Commerce console you need to pass your Magento endpoint through the proxy local server.
You can do it by using below command:
For Windows:
npx local-cors-proxy โproxyUrl https://<namespace>.adobesandbox.com/ โport 3001 โproxyPartial โโ
For Mac:
npx local-cors-proxy โproxyUrl https://<namespace>.adobesandbox.com/ โport 3001 โproxyPartial โ
Read Full Blog
Q&A
Please use this thread to ask the related questions.