diff --git a/src/app/products/components/ServiceHeader.tsx b/src/app/products/components/ServiceHeader.tsx index 9f775c3..5e6de49 100644 --- a/src/app/products/components/ServiceHeader.tsx +++ b/src/app/products/components/ServiceHeader.tsx @@ -79,14 +79,19 @@ const ServiceHeader: FC = (props: Props) => {
{ - finalPrice !== price && !!price && -
- {NumberFormat(Number(price))} -
+ price === 0 && finalPrice === 0 ? +
رایگان
+ : + finalPrice !== price && !!price && +
+ {NumberFormat(Number(price))} +
} -
{NumberFormat(Number(finalPrice))}
+ {price !== 0 &&
{NumberFormat(Number(finalPrice))}
}
- تومان + { + price !== 0 && تومان + }