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

U021BQ2FVFG
U021BQ2FVFG Posts: 18 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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

Comments

  • U01SE4SRCU9
    U01SE4SRCU9 Posts: 68 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    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

    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

    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 ๐Ÿ™‚