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

good morning. i have a question regarding the agent assist feature: after a successful order I need

U013X7VL20K
U013X7VL20K Posts: 24 🧑🏻‍🚀 - Cadet

good morning. i have a question regarding the agent assist feature: after a successful order I need the information in zed, if an order was created by an agent (and which agent) or if it was not. any approach?

Comments

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer

    Extend the QuoteTransfer to include an agent id field, set it during the checkout by extracting it from the auth token if you use Glue or from the session if you use Yves. You can implement an OrderExpanderPreSavePluginInterface to extract the agent id field from the quote and put it into the order while an order get's placed.

  • U013X7VL20K
    U013X7VL20K Posts: 24 🧑🏻‍🚀 - Cadet

    thanks, works like a charme 🙂 ymmd