- catalogo macro, importazione dati
This commit is contained in:
@@ -24,6 +24,9 @@ const productInfoSchema = new Schema({
|
||||
unique: true,
|
||||
required: true,
|
||||
},
|
||||
id_wp: { // id in wordpress
|
||||
type: String,
|
||||
},
|
||||
codice_EAN: {
|
||||
type: String,
|
||||
},
|
||||
@@ -67,7 +70,10 @@ const productInfoSchema = new Schema({
|
||||
icon: {
|
||||
type: String,
|
||||
},
|
||||
img: {
|
||||
img: { // Se esiste img (sul server) visualizza questa, altrimenti vedi se esiste image_link
|
||||
type: String,
|
||||
},
|
||||
image_link: {
|
||||
type: String,
|
||||
},
|
||||
link_scheda: {
|
||||
@@ -91,6 +97,18 @@ const productInfoSchema = new Schema({
|
||||
note: {
|
||||
type: String,
|
||||
},
|
||||
author: {
|
||||
type: String,
|
||||
},
|
||||
collezione: {
|
||||
type: String,
|
||||
},
|
||||
publisher: { //editore
|
||||
type: String,
|
||||
},
|
||||
numpages: {
|
||||
type: Number,
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user