softcommerceltd / graphcommerce-magento-cms

0 stars 1 forks source link

Is there any documentation on how to use it? #5

Open magecommerce opened 5 months ago

magecommerce commented 5 months ago

Is there any documentation on how to use it? great thanks

softcommerceltd commented 5 months ago

I am still working on it but you can add the package to your GC project: yarn add @softcommerce/graphcommerce-magento-cms

Have a look at this project https://github.com/softcommerceltd/magento-graphcommerce-pwa where the existing category entry page was modified to include components from Magento pagebulder.

You'll also need to install the Magento module to get it all working together composer require softcommerce/module-graphcommerce-cms

Refer to this link: https://github.com/softcommerceltd/magento-graphcommerce-cms

I suggest to wait until I get the sample modules for Magento complete to get a better idea of how the components work - should have it ready within the next few days.

Speak soon

magecommerce commented 5 months ago

Thank you so much

softcommerceltd commented 5 months ago

A quick update to say that I've created both the Magento and GC demos. More information can be found here https://github.com/softcommerceltd/magento-graphcommerce-cms

  1. Install the latest Magento
  2. Install Magento sample data
  3. Install GraphCommerce sample data
  4. Install GraphCommerce React project (https://github.com/softcommerceltd/magento-graphcommerce-pwa)

As mentioned earlier in Slack (https://graphcommerce.slack.com/archives/C02K7SJNCLB/p1715673873167399), the project is not production-ready yet and it requires more contribution to be done, especially to the GC react theme. However, this is a good starting point for those who want to replace Hygraph with Magento's native pagebuilder. I personally think that having CMS content in one place (Magento) makes admin work much more productive.

Let me know how it goes.