ready link import fx 2
This commit is contained in:
parent
f80490f78b
commit
0050de6fad
|
|
@ -575,7 +575,7 @@ func (importer *Importer) UpdateOrCreate(product models.Product) (instance *Impo
|
||||||
return importer
|
return importer
|
||||||
}
|
}
|
||||||
} else if &firstProduct != nil {
|
} else if &firstProduct != nil {
|
||||||
newProducts[0] = *firstProduct
|
newProducts = append(newProducts, *firstProduct)
|
||||||
}
|
}
|
||||||
|
|
||||||
if product.ColorVariants != nil && len(*product.ColorVariants) > 0 {
|
if product.ColorVariants != nil && len(*product.ColorVariants) > 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue