ready link import fx 2

This commit is contained in:
merdan 2022-12-09 15:58:14 +05:00
parent f80490f78b
commit 0050de6fad
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ func (importer *Importer) UpdateOrCreate(product models.Product) (instance *Impo
return importer
}
} else if &firstProduct != nil {
newProducts[0] = *firstProduct
newProducts = append(newProducts, *firstProduct)
}
if product.ColorVariants != nil && len(*product.ColorVariants) > 0 {