Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Multistore: does Spryker provides multi-backend for multi-store frontend? Or single one

Options
U021BQ2FVFG
U021BQ2FVFG Posts: 18 🧑🏻‍🚀 - Cadet

Multistore: does Spryker provides multi-backend for multi-store frontend? Or single one

Comments

  • U01SE4SRCU9
    U01SE4SRCU9 Posts: 68 🧑🏻‍🚀 - Cadet
    Options

    As far as I know, you can do it however you like, with one backend as well as with multi.

  • UQ958DA4U
    UQ958DA4U Posts: 232 🧑🏻‍🚀 - Cadet
    Options

    It depends if you use stores with shared persistence or not. If you have multiple stores with shared persistence, they are all managed from the same backend.
    If you create some without shared persistence (i.e. no data is shared between stores) then you must use multiple backends to edit the data.

    Beware: Spryker shows all stores always in all backends, but of course without shared persistence, this won't have any impact on different databases.

  • U01TZ93MPSQ
    U01TZ93MPSQ Posts: 40 🧑🏻‍🚀 - Cadet
    Options

    To quote the docs (https://documentation.spryker.com/docs/howto-set-up-multiple-stores):

    If you set up multiple stores that represent different countries of the shop, you might choose the following approaches:
    • Stores share the same code base but allow to customize logic and templates by inheritance.
    • The SQL database can be shared among all stores, or there can be a dedicated database per store.
    • Hosting infrastructure can be shared or separated for the stores.
    Basically, its up to you 🙂