feat: attrs on product
This commit is contained in:
@@ -14,5 +14,6 @@ export type ProductSchema = {
|
|||||||
color?: (string | null);
|
color?: (string | null);
|
||||||
composition?: (string | null);
|
composition?: (string | null);
|
||||||
size?: (string | null);
|
size?: (string | null);
|
||||||
|
additionalInfo?: (string | null);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,31 @@ export const useProductsTableColumns = () => {
|
|||||||
accessorKey: "size",
|
accessorKey: "size",
|
||||||
header: "Размер",
|
header: "Размер",
|
||||||
enableSorting: false
|
enableSorting: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "weight",
|
||||||
|
header: "Вес",
|
||||||
|
enableSorting: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "price",
|
||||||
|
header: "Цена",
|
||||||
|
enableSorting: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "quantity",
|
||||||
|
header: "Количество",
|
||||||
|
enableSorting: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "description",
|
||||||
|
header: "Описание",
|
||||||
|
enableSorting: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "additionalInfo",
|
||||||
|
header: "Доп. информация",
|
||||||
|
enableSorting: false
|
||||||
}
|
}
|
||||||
], []);
|
], []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user