Adds thumbnail to products

This commit is contained in:
Sebastian Rindom committed 2020-07-07 14:54:24 +02:00
1 parent 716415263d
commit 7247095078
13 files changed
+89 -57

No files matched your search

+1
View File
@@ -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: {} },