...
This commit is contained in:
parent
91f1d5b9f8
commit
0db7f7f342
|
|
@ -1212,9 +1212,9 @@ namespace Nop.Plugin.Misc.FruitBankPlugin.Areas.Admin.Controllers
|
|||
}
|
||||
|
||||
// Validate stock
|
||||
var stockQuantity = await _productService.GetTotalStockQuantityAsync(product);
|
||||
//var stockQuantity = await _productService.GetTotalStockQuantityAsync(product);
|
||||
var productDto = productDtosByOrderItemId[productModel.Id];
|
||||
var isMeasurable = productDto.IsMeasurable;
|
||||
//var isMeasurable = productDto.IsMeasurable;
|
||||
|
||||
//if (stockQuantity < productModel.Quantity)
|
||||
//{
|
||||
|
|
|
|||
Loading…
Reference in New Issue