shimdilik importy disable yapiom ben

This commit is contained in:
merdan 2023-06-05 11:09:13 +05:00
parent 109e8ec19b
commit 3872eeca33
1 changed files with 1 additions and 0 deletions

View File

@ -542,6 +542,7 @@ func (importer *Importer) updatePrice(price models.Price, flat *gm.ProductFlat)
Update("float_value", price.DiscountedPrice.Value)
} else {
log.Println(flat)
importer.Baza.Model(&flat).Updates(map[string]interface{}{
"price": price.DiscountedPrice.Value,
"special_price": nil,