From bd62835db7dc521a17d6b0aea81badaae6ade95c Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 2 Aug 2024 16:47:42 +0700 Subject: update template switch --- src-migrate/types/product.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src-migrate/types') diff --git a/src-migrate/types/product.ts b/src-migrate/types/product.ts index 681cdc8e..75d55002 100644 --- a/src-migrate/types/product.ts +++ b/src-migrate/types/product.ts @@ -1,6 +1,8 @@ import { IProductVariantDetail } from './productVariant'; export interface IProduct { + qtySold: number; + stockTotal: number; id: number; image: string; code: string; @@ -18,11 +20,13 @@ export interface IProduct { name: string; }[]; flash_sale: { - id: string; + id: number; remaining_time: number; tag: string; }; lowest_price: { + priceDiscount: number; + discountPercentage: number; price: number; price_discount: number; discount_percentage: number; -- cgit v1.2.3