theme value

This commit is contained in:
hamid zarghami
2025-12-13 16:44:46 +03:30
parent 7e281ec794
commit 5d134ba05d
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ const ProductVariant: FC = () => {
<Td text="">
<div>
<div className="font-medium text-gray-900">
{variant.title_fa}
{variant.title_fa + ' '}
( {variant.themeValue?.name} )
</div>
<div className="text-gray-500 text-xs">
{variant.title_en}
+4 -1
View File
@@ -244,8 +244,11 @@ export type ProductVariantDetailType = {
saleFormat: SaleFormatType;
themeValue?: {
_id: string;
theme: {
title: string;
};
name: string;
value: number;
value: string;
};
size?: SizeType;
color?: ColorType;