View event added on checkout payment and shipping section
This commit is contained in:
parent
77618d23f8
commit
3d0da8812d
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
@foreach ($paymentMethods as $payment)
|
||||
|
||||
{!! view_render_event('bagisto.shop.checkout.payment-method.before', ['payment' => $payment]) !!}
|
||||
|
||||
<span class="radio">
|
||||
<input v-validate="'required'" type="radio" id="{{ $payment['method'] }}" name="payment[method]" value="{{ $payment['method'] }}" v-model="payment.method" @change="methodSelected()" data-vv-as=""{{ __('shop::app.checkout.onepage.payment-method') }}"">
|
||||
<label class="radio-view" for="{{ $payment['method'] }}"></label>
|
||||
|
|
@ -18,6 +20,8 @@
|
|||
|
||||
<span class="control-info">{{ $payment['description'] }}</span>
|
||||
|
||||
{!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!}
|
||||
|
||||
@endforeach
|
||||
|
||||
<span class="control-error" v-if="errors.has('payment-form.payment[method]')">
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@
|
|||
<div class="control-group" :class="[errors.has('shipping-form.shipping_method') ? 'has-error' : '']">
|
||||
|
||||
@foreach ($shippingRateGroups as $rateGroup)
|
||||
|
||||
{!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!}
|
||||
|
||||
<h4 for="">{{ $rateGroup['carrier_title'] }}</h4>
|
||||
|
||||
@foreach ($rateGroup['rates'] as $rate)
|
||||
|
|
@ -20,6 +23,8 @@
|
|||
</span>
|
||||
@endforeach
|
||||
|
||||
{!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!}
|
||||
|
||||
@endforeach
|
||||
|
||||
<span class="control-error" v-if="errors.has('shipping-form.shipping_method')">
|
||||
|
|
|
|||
Loading…
Reference in New Issue