- Aggiornamento template mail (tramite i campi in HTML)
- Aggiornato Carrello
This commit is contained in:
@@ -589,7 +589,9 @@ module.exports.getmsgorderTelegram = async function (ordersCart) {
|
||||
|
||||
msg += '<br>';
|
||||
|
||||
msg += '<br>Totale Prodotti: ' + ordersCart.totalQty + ordersCart.totalQtyPreordered;
|
||||
let totqta = ordersCart.totalQty + ordersCart.totalQtyPreordered;
|
||||
|
||||
msg += '<br>Totale Prodotti: ' + totqta;
|
||||
msg += '<br>Totale Ordine: ' + ordersCart.totalPrice + ' € 💰';
|
||||
|
||||
|
||||
|
||||
@@ -40,15 +40,22 @@ const storehouseSchema = new Schema({
|
||||
website: {
|
||||
type: String,
|
||||
},
|
||||
stockQty: { // in magazzino
|
||||
type: Number,
|
||||
default: 0,
|
||||
email_html_header: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
bookableQty: { // Quantità prenotabili
|
||||
type: Number,
|
||||
default: 0,
|
||||
email_html_footer: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
email_html_makeorder: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
email_html_order_confirmed: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
var Storehouse = module.exports = mongoose.model('Storehouse', storehouseSchema);
|
||||
|
||||
Reference in New Issue
Block a user