- aggiungo campo "sfuso"
- aggiunto totale al carrello
This commit is contained in:
@@ -880,8 +880,11 @@ export const useProducts = defineStore('Products', {
|
||||
if (qta > 1 || qta === 0)
|
||||
strprod = t('ecomm.prodotti')
|
||||
|
||||
|
||||
if (qta >= 0) {
|
||||
msg = t('ecomm.prod_sul_carrello', { strprod, qty: qta })
|
||||
let totalPrice = this.cart.totalPrice ? this.cart.totalPrice.toFixed(2): 0
|
||||
let tot = totalPrice + ' €'
|
||||
msg = t('ecomm.prod_sul_carrello', { strprod, qty: qta, tot })
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user