add toast on add to cart
This commit is contained in:
parent
8fdebc2a98
commit
7a1ec09104
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue