-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to implement Page designer in PWA #1595
Comments
Hi @Mohansharu could you elaborate on which part isn't working for you? |
Hi @joeluong-sfcc I'm not sure how to implement page designer in PWA, If there is any document or steps to learn pls do share |
Unfortunately page designer isn't as well documented as we'd like, and we have items on our roadmap in order to improve documentation around page designer. What did you see when you tried to follow the steps in the README? https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/template-retail-react-app/app/page-designer/README.md |
@joeluong-sfcc, when I tried with what and all the steps they have mentioned here https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/template-retail-react-app/app/page-designer/README.md I faced some error I have attached it as a text file please have a look, and help us to resolve this error |
I believe you're on an older version where
I think this should work if you follow similar steps for a generated project as well. |
Hi @joeluong-sfcc, after following the steps it is working fine but when I created a new page designer in my Business manager if I try to access it through the page id in url it shows like below the same page if I try to access using SFRA it's working fine please guide us |
Hi @joeluong-sfcc, To establish a connection with our Sandbox, we are updating credentials in only default.js which is under config folder. Is there any other files to modify to connect totally to our sandbox? |
@Mohansharu const PAGEDESIGNER_TO_COMPONENT = {
'commerce_assets.photoTile': ImageTile,
'commerce_assets.imageAndText': ImageWithText,
'commerce_layouts.carousel': Carousel,
'commerce_layouts.mobileGrid1r1c': MobileGrid1r1c,
'commerce_layouts.mobileGrid2r1c': MobileGrid2r1c,
'commerce_layouts.mobileGrid2r2c': MobileGrid2r2c,
'commerce_layouts.mobileGrid2r3c': MobileGrid2r3c,
'commerce_layouts.mobileGrid3r1c': MobileGrid3r1c,
'commerce_layouts.mobileGrid3r2c': MobileGrid3r2c
} If you try to use a component that isn't supported like |
@joeluong-sfcc ok got it, One more concern can we extend these components or is it possible to create our new components? If yes how can we achieve this? |
@Mohansharu You should be able to create new components, however, this process isn't formally documented. You can look at the components already implemented to use as reference for the components you'd like to create: https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/template-retail-react-app/app/page-designer |
I have implemented the Page Designer successfully, but when I try to use Targeting functionalities using customer groups (Page settings -> Targeting -> Customer groups), it returns a 500 error.
Any idea how to targeting the PD pages with customer groups? |
Hi all,
I'm not able to implement page designer in PWA, If anyone has any idea about it or any document/article regarding this please do share it. I have followed some articles and even the git repo but have not been able to find the solution.
Here are some links that I have referred
https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/template-retail-react-app/app/page-designer/README.md
https://github.com/SalesforceCommerceCloud/composable-storefront-pocs#page-designer
https://blogs.xcentium.com/blogs/implementing-sfcc-page-designer-with-the-pwa-kit
please do the needful, Thank you in advance
The text was updated successfully, but these errors were encountered: