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..
Hello, I added 2nd store with shared persistence and same locale to our system and have one problem.
Hello,
I added 2nd store with shared persistence and same locale to our system and have one problem. Redis for first store contains 5k+ keys and for new store it contains less than 1k keys. It doesn't contain even glossary translations, just products, cms_pages and cms_blocks, but pages don't work (404). Main navigation also isn't rendered
Comments
-
we faced similiar issue, did you set up synchronization between stores?
0 -
hmm I'm not sure. How to setup it?
0 -
me neither tbh, we are still struggling with that, but afair first step was setting common synchronization pool for stores in stores config
0 -
if you look into stores config, you will probably see something like
$stores['somestore'] = [ 'queuePools' => [ 'synchronizationPool' => [ 'some-connection', ], ], ...
0 -
mhmhm
0 -
and if I understand this process correctly this pool should be shared between stores you want to be synchronized
0 -
i just checked demoshop and looks like they're using 2 pools in each store (AT, DE)
'queuePools' => [ 'synchronizationPool' => [ 'AT-connection', 'DE-connection', ], ],
0 -
ok, so if both AT and DE stores have this set up then I am out of my depth here
0 -
hmm I added both synchronizationPools to my config and looks like it started to work π
0 -
not everything yet (5k+ keys in main store redis and 3k+ in new one), but it's much better now
0 -
I missed this 2 pools before..
0 -
thank you! π
0 -
glad I could help
0 -
hmm one more question π Do you know if it's possible to use multi store with same domain with path prefix (similar to language)? Eg shop.com/en and shop.com/de, but not for language, but for store
0 -
no idea tbh
0 -
but if I had to guess, I'd say yes, just adjust configs, yves/zed base url amd probably also nginx config
0 -
but that's just a guess, nothing more
0 -
yeah, i'm trying to somehow configure it, but asked in the meantime, because I hoped, thatyou or someone else will just say "do it this way" ot "not possible by default" π
0 -
but in main channel Valerii written that it's possible. I'll write here when it'll be done
0 -
hmm we are using docker/sdk from spryker and looks like it doesn't support it yet. Probably for now we will just stay with multi domain and will see later if Spryker will show how to do it, as Valerii said
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 70 Spryker Safari Questions
- 50 Random