import products dinamically

This commit is contained in:
Surya Paolo
2024-02-06 20:12:54 +01:00
parent 9fe81713e5
commit 64bd3cebb3
13 changed files with 577 additions and 32 deletions

View File

@@ -42,24 +42,34 @@ const productInfoSchema = new Schema({
type: String
},
size: {
type: String
type: String // 11x4x3
},
weight: {
type: Number
},
vegan: {
type: Boolean
weight_lordo: {
type: Number
},
unit: {
type: Number,
default: 0,
},
unit_lordo: {
type: Number,
default: 0,
},
vegan: {
type: Boolean
},
icon: {
type: String,
},
img: {
type: String,
},
link_scheda: {
type: String,
},
link: {
type: String,
},