nemetyan kod
This commit is contained in:
parent
d159616a44
commit
0538def83f
|
|
@ -427,8 +427,12 @@ func (importer *Importer) importVariant(product models.Product) (*gm.Product, er
|
|||
return nil, err
|
||||
}
|
||||
|
||||
}else{
|
||||
log.Println(err,"main error")
|
||||
}
|
||||
|
||||
|
||||
|
||||
mainFlat := productRepo.makeProductFlat(mainPorduct.ID)
|
||||
|
||||
if err := tx.Create(&mainFlat).Error; err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue