softcommerceltd / magento-graphcommerce-cms

Other
2 stars 2 forks source link

is the mdule can use widgets ? #9

Open anisagrebi opened 2 months ago

anisagrebi commented 2 months ago

i want to know if i can create a widget and pass it throw graphql ? thanks

softcommerceltd commented 2 months ago

Currently we have no support for widgets but this maybe a good idea to implement. What's your plan on using widgets? Would you build a page using widget or do you want to use it independantly throught the theme?

anisagrebi commented 2 months ago

actually in our home page we have a promotional block containing related products some thing like this

2024-06-27_16-06

softcommerceltd commented 2 months ago

You could try using pagebuilder elements on the CMS page directly to achieve the above. You'll need to style it in GC theme though. Try using a combination of "Row Links" and "Row Product" elements, see attached.

Screenshot 2024-06-27 at 16 42 18

Please note, this extension is relatively new and requires further work to add new features and improvements. This was developed a a proof concept for integration of GC and Magento pagebuilder.

I am happy to work on new features, do let me know if you think of one. Any contributions are also welcome!