Aggiornamento modifiche preOrdini
This commit is contained in:
@@ -51,7 +51,7 @@ export default function () {
|
||||
if (!!arrcart) {
|
||||
if (!!arrcart.items) {
|
||||
// @ts-ignore
|
||||
const total = arrcart.items.reduce((sum, item) => sum + item.order.quantity, 0)
|
||||
const total = arrcart.items.reduce((sum, item) => sum + item.order.quantity + item.order.quantitypreordered , 0)
|
||||
return total
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user