summaryrefslogtreecommitdiff
path: root/iridescence/src/components/CartCheckout.vue
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-12-07 22:07:36 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-12-07 22:07:36 -0500
commitda43cd8d3be0e2d53d27d7cc924eb445a482abf3 (patch)
treecad48abfe92f93b137fff29d2365b9c3dc2a7b41 /iridescence/src/components/CartCheckout.vue
parentd8d44376d193d925582a0a12373e1403df49cf63 (diff)
downloadtheglassyladies-da43cd8d3be0e2d53d27d7cc924eb445a482abf3.tar.xz
theglassyladies-da43cd8d3be0e2d53d27d7cc924eb445a482abf3.zip
cart finished for initial release, fixed annoying footer
Diffstat (limited to 'iridescence/src/components/CartCheckout.vue')
-rw-r--r--iridescence/src/components/CartCheckout.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/iridescence/src/components/CartCheckout.vue b/iridescence/src/components/CartCheckout.vue
index cde78d9..590e5b9 100644
--- a/iridescence/src/components/CartCheckout.vue
+++ b/iridescence/src/components/CartCheckout.vue
@@ -2,7 +2,7 @@
<div id="cartCheckout">
<div class="buttons has-addons">
<router-link to="/cart" class="button is-primary is-rounded"
- >🛒</router-link
+ >🛒 {{ checkoutReady }}</router-link
>
<button class="button is-static">x{{ inCart }}</button>
<button class="button is-static is-rounded">
@@ -24,6 +24,13 @@ export default {
},
cartTotal() {
return this.$store.getters.cartTotal;
+ },
+ checkoutReady() {
+ if (this.inCart) {
+ return "Checkout";
+ } else {
+ return "";
+ }
}
}
};