Commit f975962f authored by Garima Jain's avatar Garima Jain

Added total feature

parent 05ece9f5
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
{
"name": "mcart",
"version": "0.1.27",
"version": "0.1.28",
"private": false,
"main": "./dist/mComponents.common.js",
"files": [
......
......@@ -41,7 +41,7 @@
</div>
<div class="col col-lg-4">
<promo></promo>
<checkout-info></checkout-info>
<checkout-info :total="getTotal"></checkout-info>
</div>
</div>
</div>
......@@ -66,8 +66,8 @@ export default {
};
},
props: {
productList: Array,
test: Array,
getTotal: Number
},
components: {
TopBar,
......
......@@ -8,7 +8,7 @@
<button id="checkoutWithPayPal" class="buttonPaypal" name="PAYPAL_CHECKOUT" value="PAYPAL_CHECKOUT" aria-label="PayPal Checkout"></button>
<div class="links">
<a href="">Continue Shopping </a>
<a href="">Shipping internationalli? </a>
<a href="">Shipping Internationally? </a>
</div>
</div>
</template>
......@@ -16,10 +16,8 @@
<script>
export default {
data() {
return {
total: 20000.00
}
props: {
total: Number
}
}
</script>
......
<template>
<div class="card mb-3">
<h3>Offers</h3>
<p>Enter Promo code. Linit of 1 offer per order </p>
<p>Enter Promo code. Limit of 1 offer per order </p>
<div class="input-group">
<input type="text" v-model="code" @change="getPromo"/>
<div class="input-group-append"><button @click="getCode" class="black">Apply</button></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment