This commit is contained in:
seb
2026-09-26 23:06:05 +02:00
parent e491ecfa47
commit e7f92ebef8
41 changed files with 3632 additions and 1751 deletions

View File

@@ -87,6 +87,11 @@ export default function getBySku(provider) {
priceId: s.priceId ?? null,
price: s.priceId != null && s.price?.net != null ? s.price : null,
})),
warehouses: parseJsonArray(a.warehousesJson).map((w) => ({
id: w.id,
name: w.name,
stock: Number(w.stock ?? 0),
})),
optionsCount: a.optionsCount,
articleListCount: a.articleListCount,
childCount: a.childCount,