From 37f6605638cd52fcfe9f7a3231d4b8f99d339b89 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 22 Sep 2022 19:13:41 +0500 Subject: [PATCH] kategoria tekst --- controllers/ImportController.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/ImportController.go b/controllers/ImportController.go index 5127df6..869fe01 100644 --- a/controllers/ImportController.go +++ b/controllers/ImportController.go @@ -467,6 +467,8 @@ func ImportProduct(product models.Product, db *gorm.DB) error { } else { colorSavePoint := "ColorSavePoint" + strconv.Itoa(colorIndex) + tx.SavePoint(colorSavePoint) + colorOption := gm.GetAttributeOption(tx, AttributesMap["color"].ID, colorVariant.Color) attributes, variantFlat := collectAttributes(&colorVariant, &colorOption) attributes = append(attributes, gm.ProductAttributeValue{AttributeID: AttributesMap["meta_keywords"].ID, TextValue: keywords, Channel: "default", Locale: "tm"})