summaryrefslogblamecommitdiff
path: root/iridescence/src/components/cart/Totals.vue
blob: 36c9e77445e46c3f96448b3d1af112e7c0e46643 (plain) (tree)
1
2
3
4
5
6
7


                                           
           
         

          




                                                                 
                          














                                           
<template>
  <div>
    <h1 class="subtitle has-text-centered">
      Total
    </h1>
    <hr />

    <h1 class="title has-text-centered">{{ cartTotal }}</h1>
    <router-link
      to="/checkout"
      class="button is-success is-fullwidth is-rounded is-medium"
    >
      Continue to Checkout
    </router-link>
  </div>
</template>

<script>
export default {
  name: "Totals",
  computed: {
    cartTotal() {
      return this.$store.getters.cartTotal;
    }
  },
  methods: {}
};
</script>