Catalogo, versione di libro/ebook, ecc... quantità

This commit is contained in:
Surya Paolo
2024-05-05 13:55:43 +02:00
parent 07973fbf0a
commit 3fcff43af0
3 changed files with 143 additions and 74 deletions

View File

@@ -39,6 +39,9 @@ const productInfoSchema = new Schema({
description: {
type: String,
},
short_descr: {
type: String,
},
idCatProds: [{ type: Schema.Types.ObjectId, ref: 'CatProd' }],
idSubCatProds: [{ type: Schema.Types.ObjectId, ref: 'SubCatProd' }],
color: {
@@ -82,6 +85,9 @@ const productInfoSchema = new Schema({
link: {
type: String,
},
checkout_link: {
type: String,
},
img2: {
type: String,
},
@@ -108,9 +114,6 @@ const productInfoSchema = new Schema({
date_publishing: {
type: Date,
},
numpages: {
type: Number,
},
productType: {
type: Number,
},