add toast on add to cart
This commit is contained in:
@@ -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)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user