feat: add shipping cost to cart
This commit is contained in:
parent
761a3137a6
commit
303afcfab4
4 changed files with 46 additions and 53 deletions
|
|
@ -53,7 +53,8 @@ const market = async () => {
|
|||
|
||||
merchants: [],
|
||||
shoppingCarts: [],
|
||||
shoppingCartCheckout: null,
|
||||
checkoutCart: null,
|
||||
checkoutStall: null,
|
||||
|
||||
activePage: 'market',
|
||||
|
||||
|
|
@ -611,8 +612,9 @@ const market = async () => {
|
|||
this.$q.localStorage.set('nostrmarket.shoppingCarts', this.shoppingCarts)
|
||||
},
|
||||
|
||||
checkoutCart(cart) {
|
||||
this.shoppingCartCheckout = cart
|
||||
checkoutStallCart(cart) {
|
||||
this.checkoutCart = cart
|
||||
this.checkoutStall = this.stalls.find(s => s.id === cart.id)
|
||||
this.setActivePage('shopping-cart-checkout')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue