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 again π In `stores.php` we have : `storesWithSharedPersistence` `countries
Comments
-
and in case I am running multi stores on one database , should I set countries to all the stores?
Example I have DE,CH,AT using one DB
should I set countries to['DE','AT,'CH']
?0 -
storesWithSharedPersistence
is to share stock between warehouses and databases. In our demo shop Spryker comes with 2 database
β’ Europe = DE and AT stores
β’ America = US stores
If those 3 stores have the same warehouses to serve your customer the shared persistence will help you by making sure that the availability between stores and database for your product are synchronous.countries
is used to defined into which countries this store can deliver. If you define for example FR and DE for a given store, then your customer can only create addresses for delivery in those 2 countries.0 -
sounds good thank you very much β¦
0 -
the reason I am asking is that I have a multi store setup that does not work properly
0 -
I dont see products on any store except the default store
0 -
I am trying to debug it π
0 -
The store assignment for a product is done via this CSV file if you used data import https://github.com/spryker-shop/b2c-demo-shop/blob/master/data/import/icecat_biz_data/product_abstract_store.csv
0 -
Example for the B2C demo shop
0 -
mine is B2B
0 -
is there anything different?
0 -
only the products are different but the format is the same https://github.com/spryker-shop/b2b-demo-shop/blob/master/data/import/product_abstract_store.csv
0 -
ok I have the same format here ! I have mapping between all the stores and SKUs
0 -
in theory all the products should be available in all the stores
0 -
but thats not the case π
0 -
what do you see inside your database, only assignment to the default store?
0 -
in this spy_product_abstract_store
0 -
there are all the store mappings
0 -
executing this
select count(*), fk_store from spy_product_abstract_store group by fk_store;
will show a table with all the stores along with the equal count of all products
0 -
so where do you not see this assignment? in the back office or the store front?
0 -
in Yves
0 -
Do the products have been pushed to the queues (publish & sync)?
0 -
Maybe check the stocks in the storage table for the particular store. That is a good starting point on where to look next (either redis/P&S or the config)
0 -
for some reason importing data on DE does not populate data to storage tables except for DE store
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