Produktmanagement hinzugefügt und kleinere Bug behoben

This commit is contained in:
2026-08-19 17:34:36 +02:00
parent 2774a64edc
commit 468c87b550
14 changed files with 683 additions and 4 deletions
@@ -34,7 +34,7 @@ func (pr *ProductRepository) CreateProduct(product *models.Product) (*models.Pro
}
for _, property := range properties {
_, err := pr.valueRepository.createPropertyFromProperty(0, product.ID, property)
_, err := pr.valueRepository.createPropertyFromProperty(product.ProductGroupID, product.ID, property)
if err != nil {
return nil, err
}