- catalogo macro, importazione dati

This commit is contained in:
Surya Paolo
2024-04-29 14:58:45 +02:00
parent 2cdb83cddf
commit e1f2e799d6
13 changed files with 358 additions and 23 deletions

View File

@@ -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,
},
});