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, I have a small question for my understanding: I understand, that we can customize yves by o

Options
michael.schmetter
michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

Hi guys,
I have a small question for my understanding:
I understand, that we can customize yves by overwriting stuff in src/Pyz/Yves/ShopUi/Theme/default/...
This is overwriting stuff from vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default.
My question is: Why do we have so many files in the Pyz area from the demo shop. From my understanding this is project level, I would have expected to have the files in the composer module included and not in the Pyz area.

Comments

  • U01DZ2DB92S
    U01DZ2DB92S Posts: 9 🧑🏻‍🚀 - Cadet
    Options

    The files in vendor are base templates for all Spryker projects e.g. B2B, B2C or pickup. The files in Pyz of your project make adaptions to fit the business case.

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
    Options

    That is corret, but my question is:
    Even when we start there are a lot of files in Pyz from the Demo-Shop alone. Shouldn't they be placed more in the vendor folder?
    It more for my understanding.

  • U01DZ2DB92S
    U01DZ2DB92S Posts: 9 🧑🏻‍🚀 - Cadet
    Options

    The files in the vendor folder are for all projects. As the Demo Shop for B2B, B2C, Pickup look different these files has to be in Pyz and not in vendor.

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
    Options

    Ok understood!