Adds thumbnail to products
This commit is contained in:
1 parent
716415263d
commit
7247095078
13 files changed
+89
-57
No files matched your search
@@ -15,6 +15,7 @@ class ProductModel extends BaseModel {
|
||||
tags: { type: String, default: "" },
|
||||
handle: { type: String, unique: true, sparse: true },
|
||||
images: { type: [String], default: [] },
|
||||
thumbnail: { type: String, default: "" },
|
||||
options: { type: [OptionSchema], default: [] },
|
||||
variants: { type: [String], default: [] },
|
||||
metadata: { type: mongoose.Schema.Types.Mixed, default: {} },
|
||||
|
||||
Reference in new issue
Block a user