2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-md-10 offset-md-1 col-sm-12">
|
2019-12-21 12:46:48 +10:00
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
|
|
|
<li class="breadcrumb-item" aria-current="page"><a href="/checkout/information">Information</a></li>
|
|
|
|
<li class="breadcrumb-item" aria-current="page"><a href="/checkout/shipping">Shipping</a></li>
|
|
|
|
<li class="breadcrumb-item active" aria-current="page"><a href="/checkout/payment">Payment</a></li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
<div class="row">
|
|
|
|
{{#if paymentMessage}}
|
|
|
|
<p class="text-danger text-center">{{paymentMessage}}</p>
|
|
|
|
{{/if}}
|
|
|
|
<div class="col-md-5">
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="card top-marg-15">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">{{ @root.__ "Customer details" }}</h5>
|
|
|
|
<ul class="list-group bottom-pad-15">
|
2019-12-21 12:46:48 +10:00
|
|
|
<li class="list-group-item">
|
|
|
|
{{@root.session.customerFirstname}} {{@root.session.customerLastname}} -
|
|
|
|
{{@root.session.customerEmail}}
|
2020-01-01 19:20:57 +10:00
|
|
|
<span class="float-right"><a href="/checkout/information">Change</a></span>
|
2019-12-21 12:46:48 +10:00
|
|
|
</li>
|
|
|
|
</ul>
|
2019-12-26 13:23:21 +10:00
|
|
|
<ul class="list-group bottom-pad-15">
|
2020-01-04 17:10:58 +10:00
|
|
|
{{#ifCond @root.session.totalCartShipping '>' 0}}
|
2019-12-21 12:46:48 +10:00
|
|
|
<li class="list-group-item">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2020-01-04 17:38:51 +10:00
|
|
|
{{@root.session.shippingMessage}}
|
2019-12-21 12:46:48 +10:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
2020-01-03 22:09:51 +10:00
|
|
|
<span><strong>{{currencySymbol @root.config.currencySymbol}}{{formatAmount @root.session.totalCartShipping}}</strong></span>
|
2020-01-01 19:20:57 +10:00
|
|
|
<span class="float-right"><a href="/checkout/shipping">Change</a></span>
|
2019-12-21 12:46:48 +10:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
2020-01-01 19:20:57 +10:00
|
|
|
<li class="list-group-item">FREE shipping <span class="float-right"><a href="/checkout/shipping">Change</a></span></li>
|
2020-01-04 17:10:58 +10:00
|
|
|
{{/ifCond}}
|
2019-12-21 12:46:48 +10:00
|
|
|
</ul>
|
2020-01-21 17:36:46 +10:00
|
|
|
{{#if @root.config.modules.loaded.discount}}
|
|
|
|
<div class="input-group bottom-pad-15">
|
|
|
|
<input class="form-control" id="discountCode" type="search" placeholder="{{ @root.__ "Discount code" }}" value="{{@root.session.discountCode}}">
|
|
|
|
<div class="input-group-append">
|
|
|
|
<button class="btn btn-outline-success" id="addDiscountCode">{{ @root.__ "Apply" }}</button>
|
|
|
|
</div>
|
|
|
|
<div class="input-group-append">
|
2020-02-01 18:54:11 +10:00
|
|
|
<button class="btn btn-outline-danger" id="removeDiscountCode">{{{feather 'x'}}}</button>
|
2020-01-21 17:36:46 +10:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2019-12-21 12:46:48 +10:00
|
|
|
<form id="shipping-form" class="shipping-form" action="/{{config.paymentGateway}}/checkout_action{{@root.paymentType}}" method="post" role="form" data-toggle="validator" novalidate="false">
|
|
|
|
{{#if session.customerPresent}}
|
2020-03-22 13:35:10 +10:00
|
|
|
{{> (partial config.paymentGateway) }}
|
2019-12-21 12:46:48 +10:00
|
|
|
{{/if}}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="cart" class="col-md-7">
|
|
|
|
{{> (getTheme 'cart')}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|