How are codeBuckets used for Presentation Layer in Zed?
Hi there,
We are currently managing a multi-store setup that requires the display of distinct templates within the back office gui. To facilitate this requirement, we have implemented a store-specific bundle named ShipmentGuiXX
. Within this bundle, we have expanded an existing form by incorporating a new field. This modification has functioned as intended, as the form is generated by the Factory within the ShipmentGuiXX
.
To ensure consistency in the user interface, we proceeded by duplicating the original template from ShipmentGui
to ShipmentGuiXX
. Subsequently, we extended this duplicated template with the new field. However, upon accessing the page, we encountered same cached views for both store interfaces. We expected a separate different view per store here.
This issue has currently manifested solely in our local environment, as the recent changes have not been deployed to other environments yet. We are exploring the possibility that twig caches might not be inherently store-specific, indicated by the directory path: src/Generated/Zed/Twig/codeBucket
. Additionally, we are investigating if there might be other elements or configurations overlooked in this context.
We appreciate any insights or guidance you may provide to help resolve this matter efficiently.
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random