changes with app product stock
This commit is contained in:
@@ -197,6 +197,9 @@ func (s *productService) GetProductsBySubcategory(params models.ProductFilter) (
|
||||
return nil, err
|
||||
}
|
||||
|
||||
products = InStockOnly(products, params.LocationID)
|
||||
|
||||
|
||||
var details []models.SubcategoryProductResponse
|
||||
var uncategorized []models.Products
|
||||
|
||||
|
||||
Reference in New Issue
Block a user