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=""> <Td text="">
<div> <div>
<div className="font-medium text-gray-900"> <div className="font-medium text-gray-900">
{variant.title_fa} {variant.title_fa + ' '}
( {variant.themeValue?.name} )
</div> </div>
<div className="text-gray-500 text-xs"> <div className="text-gray-500 text-xs">
{variant.title_en} {variant.title_en}
+4 -1
View File
@@ -244,8 +244,11 @@ export type ProductVariantDetailType = {
saleFormat: SaleFormatType; saleFormat: SaleFormatType;
themeValue?: { themeValue?: {
_id: string; _id: string;
theme: {
title: string;
};
name: string; name: string;
value: number; value: string;
}; };
size?: SizeType; size?: SizeType;
color?: ColorType; color?: ColorType;