chore(): Improve some cart operation flows to remove extraneous operations when not required (#13418)

RESOLVES CORE-1155

**What**
- prevent update payment collection worklow to fetch data and call steps when there is no payment collection
- prevent refresh Cart Shipping Methods Workflow to fetch data and call steps when there is no shipping methods
- update promotion step to remove extraneous module call
This commit is contained in:
Adrien de Peretti
2025-09-07 14:52:36 +02:00
committed by GitHub
parent 9b3831d258
commit 2fe68a975b
6 changed files with 57 additions and 42 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
chore(): Tweak update payment collection and refresh shipping method workflow execution