@wikala/spmkt 2.10.3 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Cart/CartSummary.vue +2 -2
- package/components/Cart/Delivery/DeliveryMethods.vue +2 -1
- package/components/Cart/Payment/PaymentMethods.vue +2 -2
- package/components/Cart/Store/actions.js +1 -0
- package/components/Cart/UserIdentity.vue +1 -1
- package/locales/en.json +1 -1
- package/locales/sr.json +4 -4
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</transition>
|
|
28
28
|
</td>
|
|
29
29
|
</tr>
|
|
30
|
-
<tr>
|
|
30
|
+
<tr v-if="activeStep <= 1 && cart.shipping > 0 || activeStep > 1">
|
|
31
31
|
<td>{{ $t('global.shipping') }}</td>
|
|
32
32
|
<td class="has-text-right">
|
|
33
33
|
<transition name="slide-fade-up">
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
computed: {
|
|
92
|
-
...mapState(['cart'])
|
|
92
|
+
...mapState(['cart', 'activeStep'])
|
|
93
93
|
},
|
|
94
94
|
|
|
95
95
|
methods: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<div v-if="!cart.free_delivery && deliveryMethods.length > 0" class="delivery-method-container mt-5" :class="[ { 'is-hidden': advancedOrdering } ]">
|
|
4
4
|
<h2 class="subtitle is-5">{{ $tc('cart.selectDeliveryMethod', hasOneChoice ? 1 : 2) }}</h2>
|
|
5
|
+
|
|
5
6
|
<div v-for="(locationMethods, ssmIndex) in deliveryMethods" class="seller-delivery-method" :key="ssmIndex">
|
|
6
7
|
<div class="columns">
|
|
7
8
|
<div class="column">
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
</b-radio>
|
|
18
19
|
</div>
|
|
19
20
|
<div class="sm-cost">
|
|
20
|
-
<span v-if="deliveryCost.
|
|
21
|
+
<span v-if="deliveryCost.cost > 0">{{ $t('cart.deliveryCost') }} {{formatMoney(deliveryCost.cost)}}</span>
|
|
21
22
|
<span v-else>{{ $t('cart.deliveryCostFree') }}</span>
|
|
22
23
|
</div>
|
|
23
24
|
<div class="break"></div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="methods.length > 0">
|
|
3
3
|
|
|
4
|
-
<div class="ca-title">{{ $
|
|
4
|
+
<div class="ca-title">{{ $tc('cart.selectPaymentMethod', methods.length) }}</div>
|
|
5
5
|
<div :class="['payment-methods', { 'is-danger': error }]">
|
|
6
6
|
<b-radio
|
|
7
7
|
v-for="(pm, index) in methods"
|
|
@@ -47,7 +47,7 @@ export default {
|
|
|
47
47
|
|
|
48
48
|
mounted() {
|
|
49
49
|
if (this.methods.length === 1) {
|
|
50
|
-
this.$emit('input', this.methods[0].
|
|
50
|
+
this.$emit('input', this.methods[0].id)
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<form id="user-identity" name="frmUserIndentity" @keypress="frmChange($event)" @change="frmChange($event)" action="#">
|
|
4
4
|
|
|
5
5
|
<div class="columns">
|
|
6
|
-
<div class="column" ref="emailCol">
|
|
6
|
+
<div class="column uid-email" ref="emailCol">
|
|
7
7
|
<b-field label="Email" label-position="inside" :type="{ 'is-danger': errors.email }" :message="errors.email">
|
|
8
8
|
<b-input
|
|
9
9
|
native-value="inside"
|
package/locales/en.json
CHANGED
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"selectDeliveryAddress": "Select a delivery address",
|
|
137
137
|
"selectDeliveryMethod": "Delivery method | Select a delivery method",
|
|
138
138
|
"selectYourBillingAddress": "Select your billing address",
|
|
139
|
-
"selectPaymentMethod": "Select payment method",
|
|
139
|
+
"selectPaymentMethod": "Payment method | Select payment method",
|
|
140
140
|
"selectedPaymentMethodEmpty": "Please choose payment method",
|
|
141
141
|
"sellerCantShip": "We can't ship items from {0} to your address.",
|
|
142
142
|
"shipTo": "Deliver to",
|
package/locales/sr.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"orderDetails": "Detalji narudžbenice",
|
|
23
23
|
"orderNumber": "Broj narudžbenice:",
|
|
24
24
|
"orderPaymentInfo": "Informacije o plaćanju",
|
|
25
|
-
"orderShippingInfo": "Informacije o
|
|
25
|
+
"orderShippingInfo": "Informacije o isporuci",
|
|
26
26
|
"orderTrackPackage": "Prati paket",
|
|
27
27
|
"orderTrackingNumber": "Broj za praćenje",
|
|
28
28
|
"orders": "Narudžbenice",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"selectDeliveryAddress": "Odaberite adresu za isporuku",
|
|
137
137
|
"selectDeliveryMethod": "Način isporuke | Odaberite način isporuke",
|
|
138
138
|
"selectYourBillingAddress": "Odaberite adresu za naplatu",
|
|
139
|
-
"selectPaymentMethod": "Odaberite način plaćanja",
|
|
139
|
+
"selectPaymentMethod": "Način plaćanja | Odaberite način plaćanja",
|
|
140
140
|
"selectedPaymentMethodEmpty": "Način plaćanja mora biti odabran",
|
|
141
141
|
"sellerCantShip": "Ne možemo da isporučimo odabrane proizvode na vašu adresu.",
|
|
142
142
|
"shipTo": "Adresa za isporuku",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"save": "Snimi",
|
|
193
193
|
"seconds": "sekundi",
|
|
194
194
|
"setAsDefault": "Postavi kao podrazumevano",
|
|
195
|
-
"shipping": "
|
|
195
|
+
"shipping": "Isporuka",
|
|
196
196
|
"status": "Status",
|
|
197
197
|
"subtotal": "Ukupno",
|
|
198
198
|
"tax": "PDV",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"all": "Sve",
|
|
250
250
|
"brand": "Brand",
|
|
251
251
|
"other": "Ostalo",
|
|
252
|
-
"shipping": "
|
|
252
|
+
"shipping": "Isporuka",
|
|
253
253
|
"specifications": "Specifikacije",
|
|
254
254
|
"usage": "Upotreba"
|
|
255
255
|
},
|