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, How and where product is saved in Zed (redis, or mysql or elasticsearch), no documentation is
Comments
-
I think you should review the tutorial fully: https://documentation.spryker.com/docs/tutorial-architecture-walkthrough-scos
0 -
Especially the bootcamp steps and videos:
https://training.spryker.com/courses/developer-bootcamp0 -
okey i read this but i need data about product by id in (json),
0 -
π this will give the overview of how spryker works.
For info on how product gets saved see
Product
module.Iβd expect
ProductSearch
andProductStorage
to handle the ES and Redis export. The use the P&S mechanism, you can read about it here https://documentation.spryker.com/docs/publish-and-synchronization.0 -
Products are stored in database and get synced to storage and search
0 -
-
@USLUHK9SQ have you considered using
https://documentation.spryker.com/docs/catalog-search or https://documentation.spryker.com/docs/retrieving-product-information?
0 -
@UQKSAARKN this
https://documentation.spryker.com/docs/retrieving-product-information
always return 404 not found,
if its will worikng , its sloved my problem0 -
Maybe it's your browser cache, cause it returns a nice page to me π
0 -
you mean that Glue endpoints return 404? or the documentation article?
0 -
yes, ex.
url: http://glue.de.b2c-demo-shop.local/abstract-products/001
response:{"errors":[{"code":"301","status":404,"detail":"Abstract product is not found."}]}
0 -
and for other sku or concetrate product is the same
0 -
if the product 001 exists, Iβd expect the redis to be empty. Can you check the storage page in the backoffice?
Iβd expect key
product_abstractπ©πͺde_de:sku:001
andproduct_abstractπ©πͺen_us:1
to be there for the endpoint to work0 -
right, if you see product with sku β001β in your DB (or Zed UI), but glue returns 404 - it means, that the product was not exported to redis. This is done by Publish & Synchronise mechanism mentioned above
0 -
@UQKSAARKN @UKJSE6T47 thanks, for explain, but when i add product from
http://zed.de.b2c-demo-shop.local/product-management/add
i don't see its SKU in redis0 -
Publish and sync works in the background, operated by cron jobs. Ootb in spryker we have jenkins runing, that does the work for you, but for better control and also performance reasons, we disable it during development.
0 -
there can be several reasons: some data is missing (like stock or store relation).
Iβd advise to check if the rabit queues are getting processed in
http://zed.de.b2c-demo-shop.local:15672/0 -
So in your case most likely it is disabled, and messages from pub&sync queue doesnβt get processed. To check that, please access the rabbitMq and see if there are any messages βhangingβ. Exactly like Eugenia suggests π
0 -
vendor/bin/console scheduler:setup
should start jenkins0 -
@UQKSAARKN i start jenkins, only kv:product_abstract_tax_set:999991111
was added to redis but sku no π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