importer lcw test8

This commit is contained in:
merdan 2023-02-17 15:13:18 +05:00
parent bfbbbc1614
commit 0c62b991c6
1 changed files with 2 additions and 0 deletions

View File

@ -864,6 +864,8 @@ func (importer *Importer) importParsedVariant(product models.Product)(gm.Product
} }
log.Println(product.Vendor)
sProduct := importer.createSellerProduct(&mainFlat, product.Vendor) sProduct := importer.createSellerProduct(&mainFlat, product.Vendor)
if errSProduct := tx.Create(&sProduct).Error; errSProduct != nil { if errSProduct := tx.Create(&sProduct).Error; errSProduct != nil {