kategoria tekst
This commit is contained in:
parent
9f9a2bdb78
commit
0585d9d5c7
|
|
@ -617,6 +617,7 @@ func ImportProduct(product models.Product, db *gorm.DB) error {
|
|||
|
||||
if errSizeVar := tx.Omit("Categories.*").Create(&sizeVariantProduct).Error; errSizeVar != nil {
|
||||
log.Println("ERR7" + errSizeVar.Error())
|
||||
tx.RollbackTo(sizeSavePoint)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue