docs: general fixes and additions (#10876)
This commit is contained in:
@@ -10,6 +10,12 @@ This document explains how the Inventory Module is used within the Medusa applic
|
||||
|
||||
When a product variant is created and its `manage_inventory` property's value is `true`, the Medusa application creates an inventory item associated with that product variant.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
This flow is implemented within the [createProductVariantsWorkflow](/references/medusa-workflows/createProductVariantsWorkflow)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
---
|
||||
@@ -18,6 +24,12 @@ When a product variant is created and its `manage_inventory` property's value is
|
||||
|
||||
When a product variant with `manage_inventory` set to `true` is added to cart, the Medusa application checks whether there's sufficient stocked quantity. If not, an error is thrown and the product variant won't be added to the cart.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
This flow is implemented within the [addToCartWorkflow](/references/medusa-workflows/addToCartWorkflow)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
---
|
||||
@@ -26,6 +38,12 @@ When a product variant with `manage_inventory` set to `true` is added to cart, t
|
||||
|
||||
When an order is placed, the Medusa application creates a reservation item for each product variant with `manage_inventory` set to `true`.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
This flow is implemented within the [completeCartWorkflow](/references/medusa-workflows/completeCartWorkflow)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
---
|
||||
@@ -38,6 +56,12 @@ When an item in an order is fulfilled and the associated variant has its `manage
|
||||
- Resets the `reserved_quantity` to `0`.
|
||||
- Deletes the associated reservation item.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
This flow is implemented within the [createOrderFulfillmentWorkflow](/references/medusa-workflows/createOrderFulfillmentWorkflow)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
---
|
||||
@@ -46,6 +70,12 @@ When an item in an order is fulfilled and the associated variant has its `manage
|
||||
|
||||
When an item in an order is returned and the associated variant has its `manage_inventory` property set to `true`, the Medusa application increments the `stocked_quantity` of the inventory item's level with the returned quantity.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
This flow is implemented within the [confirmReturnReceiveWorkflow](/references/medusa-workflows/confirmReturnReceiveWorkflow)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
### Dismissed Returned Items
|
||||
|
||||
Reference in New Issue
Block a user