Aggiungi il codice alla cassa in automatico
This commit is contained in:
@@ -73,11 +73,16 @@ export default defineComponent({
|
||||
products.removeFromCart({ order: order.value })
|
||||
}
|
||||
|
||||
function getRisparmio(): string {
|
||||
return ((order.value.price * order.value.quantity) - order.value.TotalPriceProduct).toFixed(2)
|
||||
}
|
||||
|
||||
return {
|
||||
myimgclass,
|
||||
addsubqty,
|
||||
removeFromCard,
|
||||
isApplicatoSconto,
|
||||
getRisparmio,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user