kategoria tekst
This commit is contained in:
parent
0585d9d5c7
commit
37f6605638
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue