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..

Hi guys. Is it possible to extend the array in stores.php with custom properties?

Options
UPAKFGUH5
UPAKFGUH5 Posts: 20 🧑🏻‍🚀 - Cadet

Hi guys. Is it possible to extend the array in stores.php with custom properties?

Comments

  • Helen Laktionova
    Helen Laktionova Sprykee Posts: 32 🧑🏻‍🚀 - Cadet
    Options

    What kind of information do you need to have per store?
    What if it can be covered with a regular configuration

  • UPAKFGUH5
    UPAKFGUH5 Posts: 20 🧑🏻‍🚀 - Cadet
    Options

    eg shop specific infos (phone number, ...)

  • Helen Laktionova
    Helen Laktionova Sprykee Posts: 32 🧑🏻‍🚀 - Cadet
    Options

    Phone number - can be set in block as a part of CMS 🙂 (you have localisation and relation to a store there)

  • Helen Laktionova
    Helen Laktionova Sprykee Posts: 32 🧑🏻‍🚀 - Cadet
    Options

    Just what if your task can be solved in a different way 🙂
    Please share all the cases.

  • Helen Laktionova
    Helen Laktionova Sprykee Posts: 32 🧑🏻‍🚀 - Cadet
    Options

    store.php is more related to a tech store configuration, so it can be adjusted.

    But phone number is not a store tech related configuration, so can be as a part of f.e. CMS

  • UKMHZV8LX
    UKMHZV8LX Posts: 69 🧑🏻‍🚀 - Cadet
    Options

    This question is relevant for us as well. I was thinking about shop domains, which can of course also be part of the shared config. Basically everything can also be solved differently, but would be good to have a possible way confirmed, ya know?