u
This commit is contained in:
@@ -99,8 +99,20 @@ export default function getBySku(provider) {
|
||||
optionsCount: a.optionsCount,
|
||||
articleListCount: a.articleListCount,
|
||||
childCount: a.childCount,
|
||||
isFather: Boolean(a.isFather),
|
||||
fatherAttributeNameId: a.fatherAttributeNameId ?? null,
|
||||
fatherAttributeName: a.fatherAttributeName ?? null,
|
||||
fatherAttributeExclusive: a.fatherAttributeExclusive != null ? Boolean(a.fatherAttributeExclusive) : null,
|
||||
fatherArticleId: a.fatherArticleId,
|
||||
fatherSku: a.fatherSku,
|
||||
children: parseJsonArray(a.childrenJson).map((c) => ({
|
||||
id: c.id,
|
||||
sku: c.sku,
|
||||
fathersort: c.fathersort,
|
||||
name: c.name ?? null,
|
||||
attributeValueId: c.attributeValueId ?? null,
|
||||
attributeValue: c.attributeValue ?? null,
|
||||
})),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user