Skip to content

victor-ufg/spryker-b2b-demo-oms-transition-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add failed oms transitions error notification in backoffice order detail (Spryker B2B Demo Shop)

This project is based on the Spryker B2B Demo shop, for the 2024 hack week.

For any Spryker-related instructions, please refer to the original Readme.md.

Description

The purpose of this project is to enable a notification section in the order detail page, where shop managers are informed when there is an active transition failure.

Until now, the failure of oms transitions has been handled by checking for exception errors, or by a 'flash message' when manually triggering the event in the detail page.

This might be undesired when the commerce team is not using New Relic or AWS, and makes detecting problems much faster/easier for non-technical people. order-detail-screenshot.png

Current State

The module works and I believe it is production ready. I didn't have time to add the functionality to the order list (it was in my original intentions).

Reusing this

The easiest way to integrate into your project, would be to run a diff between this repo and yours, or against the b2b demoshop, to get a clearer idea of what is changed. It should work with any demo shop, but you might have to align customizations/namespaces.

Ideally this is merged into the demo-shops.

Next Steps/Improvements:

  • Provide information in the order list as well
  • Provide information in each of the order items and/or provide a hint about an error next to the stage
  • Extract into an independent module and/or integrate with the original OMS/Sales modules
  • Write tests
  • PR to merge into the Demo shop.