on 09-21-2020 3:44 PM
Hello experts,
I have successfully integrated the smart edit into my storefront by following the guidelines as provided in the documentation. However, after I had logged in to smartedit and choose site and click on a "HomePage" of online catalog I see next popup
and storefront is not loaded.
If I click the "Preview mode" the link storefront is not loaded either.
Please advice what can be the issue ?
Thank you,
Marian
It's probably too late to help you with this. But when I was setting up the demo, I had the same issue, and it was because these were the default values of SmartEditConfig in smart-edit-feature.module:
provideConfig(<SmartEditConfig>{
smartEdit: {
storefrontPreviewRoute: 'STOREFRONT_PREVIEW_ROUTE_PLACEHOLDER',
allowOrigin: 'ALLOWED_ORIGIN_PLACEHOLDER',
},
})
You need to change it to this, so it can connect to the backoffice:
provideConfig(<SmartEditConfig>{
smartEdit: {
storefrontPreviewRoute: 'cx-preview',
allowOrigin: 'localhost:9002',
},
})
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No errors in web console or tomcat console on this step.
If I click on a preview mode link I see the exception with error message:
"Cannot find a composer type."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.