add toast on add to cart

This commit is contained in:
Tiago Vasconcelos 2022-12-20 09:53:37 +00:00
parent 8fdebc2a98
commit 7a1ec09104

View file

@ -347,6 +347,11 @@
price: item.price price: item.price
}) })
} }
this.$q.notify({
type: 'positive',
message: `${item.product} added to cart`,
icon: 'thumb_up'
})
this.cart.products = prod this.cart.products = prod
this.updateCart(item.price) this.updateCart(item.price)
}, },