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..

i want to get info about product in json from this docs

USLUHK9SQ
USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet
edited January 2020 in Help

i want to get info about product in json from this docs
https://documentation.spryker.com/docs/retrieving-product-information
but when i type in url http://de.b2c-demo-shop.local/abstract-products/001
still i get 404 not found (product with sku 001 exists in zed)

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
  • USLUHK9SQ
    USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited January 2020

    @valerii.trots I see json but still

    {"errors":[{"code":"301","status":404,"detail":"Abstract product is not found."}]}
    
  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Check if it exists in Redis please. Maybe it's not synchronized. Glue takes product data from Redis and ES.

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet

    @valerii.trots in redis i not see anything, spryker store data in redis or SQL, i am a beginner ?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Spryker uses SQL DB (Postgres or MySQL) for Zed. All the data is synchronized to ElasticSearch and Redis via RabbitMQ for Yves and Glue in order to improve performace for customers.
    Synchronization is done by Publish&Synchronize feature (events, listeners, messages, queues etc) using Jenkins.
    Jenkins runs console commands for synchronization (console queue:worker:start).

    So if there is nothing in the Redis, that probably means that your Jenkins isn't up and running.

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited January 2020

    @valerii.trots okey for example , i want to get data about updated product, i create Listener for it,
    and I receive data from the submitted form,
    how do I get product data from a database,
    I would ask for some sample php query how to refer to a database

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet
  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Sorry, I'm not a developer and can't help here.

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 πŸ§‘πŸ»β€πŸš€ - Cadet

    okey, you helped me anyway thanks