Produktmanagement hinzugefügt und kleinere Bug behoben
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user