React Bricks

Product details

Q: If using this for eCommerce, can things like products or collections be saved as Stories so they can easily be pulled into a page?

Or are stories for a different function?

104033418513756417090Jul 16, 2022
Founder Team
Matteo_ReactBricks

Matteo_ReactBricks

May 14, 2024

A: Hi!
Stories are another thing: they are cookie-cutter props for content blocks.
Suppose you have a hero unit block. You can edit it to have a certain text and background color and save it as a story. In another page you can then create another identical block, but story are not single source of truth: if you change the content in a page, it doesn't change everywhere.

For an e-commerce you can create a pageType "product" and create pages inside this pageType. We are publishing today v3.3.0 where you can also define that a pageType is more an abstract entity than a page (for example "category") and you can create a relationship custom field "category" on the product that maps to the category entities.

When you set up a project for the e-commerce (I suggest choosing Next.js for this use case) I am happy to have a call with you to do a custom demo.

Thank you,
Matteo

Share
Helpful?
Log in to join the conversation
Related questions
View product details