summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-02 16:47:42 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-02 16:47:42 +0700
commitbd62835db7dc521a17d6b0aea81badaae6ade95c (patch)
treea5249bfd7d4edca94ab26d6e3d16bce381a038c1 /src-migrate/types
parente07a57651649cb2493e5b00a361797cf1392a186 (diff)
<iman> update template switch
Diffstat (limited to 'src-migrate/types')
-rw-r--r--src-migrate/types/product.ts6
1 files changed, 5 insertions, 1 deletions
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;