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 there! I have a question about OMS. Is it possible on Spryker to place an order with 2 differe

UT0RKKX8W
UT0RKKX8W Posts: 18 🧑🏻‍🚀 - Cadet
edited June 2022 in Help

Hello there!
I have a question about OMS. Is it possible on Spryker to place an order with 2 different OMSs for specific products? In my case shop is selling digital product and physical products, and i want buyer to be able to place an order with mixed products digital and physical, but OMS should be deferent for each type.

Comments

  • Alberto Reyer
    Alberto Reyer Posts: 690 🪐 - Explorer

    The state machine is set per order item and therefore using different state machines for different items is possible.
    By default the state machine is determined by the payment method, but you can adapt this in \Spryker\Zed\Sales\Business\StateMachineResolver\OrderStateMachineResolver::resolve to fit your requirements.

  • UT0RKKX8W
    UT0RKKX8W Posts: 18 🧑🏻‍🚀 - Cadet

    Thank you very much

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet

    You also can handle them different in one state machine too

  • UT0RKKX8W
    UT0RKKX8W Posts: 18 🧑🏻‍🚀 - Cadet

    Thanks @UK7KBE2JW! i did just that 👍