diff --git a/src/products/components/ProductVariantCreatorPage/reducer.ts b/src/products/components/ProductVariantCreatorPage/reducer.ts index 93f2dbd16..81e410723 100644 --- a/src/products/components/ProductVariantCreatorPage/reducer.ts +++ b/src/products/components/ProductVariantCreatorPage/reducer.ts @@ -385,8 +385,8 @@ function reduceProductVariantCreateFormData( return changeAttributeValueStock( prevState, action.changeAttributeValueStock.valueId, - action.changeAttributeValueStock.warehouseIndex, - action.changeAttributeValueStock.quantity + action.changeAttributeValueStock.quantity, + action.changeAttributeValueStock.warehouseIndex ); case ProductVariantCreateReducerActionType.changeApplyPriceToAttributeId: return changeApplyPriceToAttributeId(