Files

593 lines
30 KiB
HTML

{% load static %}
<!-- Checkout Wizard -->
<div id="wizard-checkout" class="bs-stepper wizard-icons wizard-icons-example">
<div class="bs-stepper-header m-lg-auto border-0">
<div class="step" data-target="#checkout-cart">
<button type="button" class="step-trigger">
<span class="bs-stepper-icon">
<svg viewBox="0 0 60 60">
<use xlink:href="{% static 'svg/icons/wizard-checkout-cart.svg' %}#wizardCart"></use>
</svg>
</span>
<span class="bs-stepper-label">Cart</span>
</button>
</div>
<div class="line">
<i class="icon-base ti tabler-chevron-right"></i>
</div>
<div class="step" data-target="#checkout-address">
<button type="button" class="step-trigger">
<span class="bs-stepper-icon">
<svg viewBox="0 0 60 60">
<use xlink:href="{% static 'svg/icons/wizard-checkout-address.svg' %}#wizardCheckoutAddress"></use>
</svg>
</span>
<span class="bs-stepper-label">Address</span>
</button>
</div>
<div class="line">
<i class="icon-base ti tabler-chevron-right"></i>
</div>
<div class="step" data-target="#checkout-payment">
<button type="button" class="step-trigger">
<span class="bs-stepper-icon">
<svg viewBox="0 0 60 60">
<use xlink:href="{% static 'svg/icons/wizard-checkout-payment.svg' %}#wizardPayment"></use>
</svg>
</span>
<span class="bs-stepper-label">Payment</span>
</button>
</div>
<div class="line">
<i class="icon-base ti tabler-chevron-right"></i>
</div>
<div class="step" data-target="#checkout-confirmation">
<button type="button" class="step-trigger">
<span class="bs-stepper-icon">
<svg viewBox="0 0 60 60">
<use xlink:href="{% static 'svg/icons/wizard-checkout-confirmation.svg' %}#wizardConfirm"></use>
</svg>
</span>
<span class="bs-stepper-label">Confirmation</span>
</button>
</div>
</div>
<div class="bs-stepper-content border-top">
<form id="wizard-checkout-form" onSubmit="return false">
<!-- Cart -->
<div id="checkout-cart" class="content">
<div class="row">
<!-- Cart left -->
<div class="col-xl-8 mb-6 mb-xl-0">
<!-- Offer alert -->
<div class="alert alert-success alert-dismissible mb-4" role="alert">
<div class="d-flex gap-4">
<div class="alert-icon flex-shrink-0 rounded me-0">
<i class="icon-base ti tabler-percentage"></i>
</div>
<div class="flex-grow-1">
<h5 class="alert-heading mb-1">Available Offers</h5>
<ul class="list-unstyled mb-0">
<li>- 10% Instant Discount on Bank of America Corp Bank Debit and Credit cards</li>
<li>- 25% Cashback Voucher of up to $60 on first ever PayPal transaction. TCA</li>
</ul>
</div>
</div>
<button type="button" class="btn-close btn-pinned" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<!-- Shopping bag -->
<h5>My Shopping Bag (2 Items)</h5>
<ul class="list-group mb-4">
<li class="list-group-item p-6">
<div class="d-flex gap-4">
<div class="flex-shrink-0 d-flex align-items-center">
<img src="{% static 'img/products/1.png' %}" alt="google home" class="w-px-100" />
</div>
<div class="flex-grow-1">
<div class="row">
<div class="col-md-8">
<p class="me-3 mb-2">
<a href="javascript:void(0)" class="fw-medium"> <span class="text-heading">Google - Google Home - White</span></a>
</p>
<div class="text-body-secondary mb-2 d-flex flex-wrap"><span class="me-1">Sold by:</span> <a href="javascript:void(0)" class="me-4">Apple</a> <span class="badge bg-label-success">In Stock</span></div>
<div class="read-only-ratings raty mb-2" data-read-only="true" data-score="4" data-number="5"></div>
<input type="number" class="form-control form-control-sm w-px-100" value="1" min="1" max="5" />
</div>
<div class="col-md-4">
<div class="text-md-end">
<button type="button" class="btn-close btn-pinned" aria-label="Close"></button>
<div class="my-2 mt-md-6 mb-md-4"><span class="text-primary">$299/</span><s class="text-body">$359</s></div>
<button type="button" class="btn btn-sm btn-label-primary">Move to wishlist</button>
</div>
</div>
</div>
</div>
</div>
</li>
<li class="list-group-item p-6">
<div class="d-flex gap-4">
<div class="flex-shrink-0 d-flex align-items-center">
<img src="{% static 'img/products/2.png' %}" alt="google home" class="w-px-100" />
</div>
<div class="flex-grow-1">
<div class="row">
<div class="col-md-8">
<p class="me-3 mb-2">
<a href="javascript:void(0)" class="fw-medium"><span class="text-heading">Apple iPhone 11 (64GB, Black)</span></a>
</p>
<div class="text-body-secondary mb-2 d-flex flex-wrap"><span class="me-1">Sold by:</span> <a href="javascript:void(0)" class="me-4">Apple</a> <span class="badge bg-label-success">In Stock</span></div>
<div class="read-only-ratings raty mb-2" data-read-only="true" data-score="4" data-number="5"></div>
<input type="number" class="form-control form-control-sm w-px-100" value="1" min="1" max="5" />
</div>
<div class="col-md-4">
<div class="text-md-end">
<button type="button" class="btn-close btn-pinned" aria-label="Close"></button>
<div class="my-2 mt-md-6 mb-md-4"><span class="text-primary">$299/</span><s class="text-body">$359</s></div>
<button type="button" class="btn btn-sm btn-label-primary">Move to wishlist</button>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
<!-- Wishlist -->
<div class="list-group">
<a href="javascript:void(0)" class="list-group-item text-primary border-primary d-flex justify-content-between">
<span class="fw-medium">Add More Products From Wishlist</span>
<i class="icon-base ti tabler-arrow-right icon-xs scaleX-n1-rtl mt-50"></i>
</a>
</div>
</div>
<!-- Cart right -->
<div class="col-xl-4">
<div class="border rounded p-6 mb-4">
<!-- Offer -->
<h6>Offer</h6>
<div class="row g-4 mb-4">
<div class="col-8 col-xxl-8 col-xl-12">
<input type="text" class="form-control" placeholder="Enter Promo Code" aria-label="Enter Promo Code" />
</div>
<div class="col-4 col-xxl-4 col-xl-12">
<div class="d-grid">
<button type="button" class="btn btn-label-primary">Apply</button>
</div>
</div>
</div>
<!-- Gift wrap -->
<div class="bg-lighter rounded p-6">
<h6 class="mb-2">Buying gift for a loved one?</h6>
<p class="mb-2">Gift wrap and personalized message on card, Only for $2.</p>
<a href="javascript:void(0)" class="fw-medium">Add a gift wrap</a>
</div>
<hr class="mx-n6 my-6" />
<!-- Price Details -->
<h6>Price Details</h6>
<dl class="row mb-0 text-heading">
<dt class="col-6 fw-normal">Bag Total</dt>
<dd class="col-6 text-end">$1198.00</dd>
<dt class="col-6 fw-normal">Coupon Discount</dt>
<dd class="col-6 text-end"><a href="javascript:void(0)">Apply Coupon</a></dd>
<dt class="col-6 fw-normal">Order Total</dt>
<dd class="col-6 text-end">$1198.00</dd>
<dt class="col-6 fw-normal">Delivery Charges</dt>
<dd class="col-6 text-end"><s class="text-body-secondary">$5.00</s> <span class="badge bg-label-success ms-1">FREE</span></dd>
</dl>
<hr class="mx-n6 my-6" />
<dl class="row mb-0">
<dt class="col-6 text-heading">Total</dt>
<dd class="col-6 fw-medium text-end text-heading mb-0">$1198.00</dd>
</dl>
</div>
<div class="d-grid">
<button class="btn btn-primary btn-next">Place Order</button>
</div>
</div>
</div>
</div>
<!-- Address -->
<div id="checkout-address" class="content">
<div class="row">
<!-- Address left -->
<div class="col-xl-8 mb-6 mb-xl-0">
<!-- Select address -->
<p class="fw-medium text-heading">Select your preferable address</p>
<div class="row mb-6 g-6">
<div class="col-md">
<div class="form-check custom-option custom-option-basic checked">
<label class="form-check-label custom-option-content" for="customRadioAddress1">
<input name="customRadioTemp" class="form-check-input" type="radio" value="" id="customRadioAddress1" checked="" />
<span class="custom-option-header mb-2">
<span class="fw-medium text-heading mb-0">John Doe (Default)</span>
<span class="badge bg-label-primary">Home</span>
</span>
<span class="custom-option-body">
<small
>4135 Parkway Street, Los Angeles, CA, 90017.<br />
Mobile : 1234567890 Card / Cash on delivery available</small
>
<span class="my-3 border-bottom d-block"></span>
<span class="d-flex"> <a class="me-4" href="javascript:void(0)">Edit</a> <a href="javascript:void(0)">Remove</a> </span>
</span>
</label>
</div>
</div>
<div class="col-md">
<div class="form-check custom-option custom-option-basic">
<label class="form-check-label custom-option-content" for="customRadioAddress2">
<input name="customRadioTemp" class="form-check-input" type="radio" value="" id="customRadioAddress2" />
<span class="custom-option-header mb-2">
<span class="fw-medium text-heading mb-0">ACME Inc.</span>
<span class="badge bg-label-success">Office</span>
</span>
<span class="custom-option-body">
<small>87 Hoffman Avenue, New York, NY, 10016.<br />Mobile : 1234567890 Card / Cash on delivery available</small>
<span class="my-3 border-bottom d-block"></span>
<span class="d-flex"> <a class="me-4" href="javascript:void(0)">Edit</a> <a href="javascript:void(0)">Remove</a> </span>
</span>
</label>
</div>
</div>
</div>
<button type="button" class="btn btn-label-primary mb-6" data-bs-toggle="modal" data-bs-target="#addNewAddress">Add new address</button>
<!-- Choose Delivery -->
<p class="fw-medium text-heading">Choose Delivery Speed</p>
<div class="row mt-2">
<div class="col-md mb-md-0 mb-2">
<div class="form-check custom-option custom-option-icon position-relative checked">
<label class="form-check-label custom-option-content" for="customRadioDelivery1">
<span class="custom-option-body">
<i class="icon-base ti tabler-user icon-lg"></i>
<span class="custom-option-title mb-2">Standard</span>
<span class="badge bg-label-success btn-pinned">FREE</span>
<small>Get your product in 1 Week.</small>
</span>
<input name="customRadioIcon" class="form-check-input" type="radio" value="" id="customRadioDelivery1" checked="" />
</label>
</div>
</div>
<div class="col-md mb-md-0 mb-2">
<div class="form-check custom-option custom-option-icon position-relative">
<label class="form-check-label custom-option-content" for="customRadioDelivery2">
<span class="custom-option-body">
<i class="icon-base ti tabler-star icon-lg"></i>
<span class="custom-option-title mb-2">Express</span>
<span class="badge bg-label-secondary btn-pinned">$10</span>
<small>Get your product in 3-4 days.</small>
</span>
<input name="customRadioIcon" class="form-check-input" type="radio" value="" id="customRadioDelivery2" />
</label>
</div>
</div>
<div class="col-md">
<div class="form-check custom-option custom-option-icon position-relative">
<label class="form-check-label custom-option-content" for="customRadioDelivery3">
<span class="custom-option-body">
<i class="icon-base ti tabler-crown icon-lg"></i>
<span class="custom-option-title mb-2">Overnight</span>
<span class="badge bg-label-secondary btn-pinned">$15</span>
<small>Get your product in 0-1 days.</small>
</span>
<input name="customRadioIcon" class="form-check-input" type="radio" value="" id="customRadioDelivery3" />
</label>
</div>
</div>
</div>
</div>
<!-- Address right -->
<div class="col-xl-4">
<div class="border rounded p-6 mb-4">
<!-- Estimated Delivery -->
<h6>Estimated Delivery Date</h6>
<ul class="list-unstyled">
<li class="d-flex gap-4 align-items-center py-2 mb-4">
<div class="flex-shrink-0">
<img src="{% static 'img/products/1.png' %}" alt="google home" class="w-px-50" />
</div>
<div class="flex-grow-1">
<p class="mb-0"><a class="text-body" href="javascript:void(0)">Google - Google Home - White</a></p>
<p class="fw-medium mb-0">18th Nov 2021</p>
</div>
</li>
<li class="d-flex gap-4 align-items-center py-2">
<div class="flex-shrink-0">
<img src="{% static 'img/products/2.png' %}" alt="google home" class="w-px-50" />
</div>
<div class="flex-grow-1">
<p class="mb-0"><a class="text-body" href="javascript:void(0)">Apple iPhone 11 (64GB, Black)</a></p>
<p class="fw-medium mb-0">20th Nov 2021</p>
</div>
</li>
</ul>
<hr class="mx-n6 my-6" />
<!-- Price Details -->
<h6>Price Details</h6>
<dl class="row mb-0 text-heading">
<dt class="col-6 fw-normal">Order Total</dt>
<dd class="col-6 text-end">$1198.00</dd>
<dt class="col-6 fw-normal">Delivery Charges</dt>
<dd class="col-6 text-end"><s class="text-body-secondary">$5.00</s> <span class="badge bg-label-success ms-2">FREE</span></dd>
</dl>
<hr class="mx-n6 my-6" />
<dl class="row mb-0">
<dt class="col-6 text-heading">Total</dt>
<dd class="col-6 fw-medium text-end text-heading mb-0">$1198.00</dd>
</dl>
</div>
<div class="d-grid">
<button class="btn btn-primary btn-next">Place Order</button>
</div>
</div>
</div>
</div>
<!-- Payment -->
<div id="checkout-payment" class="content">
<div class="row">
<!-- Payment left -->
<div class="col-xl-8 mb-6 mb-xl-0">
<!-- Offer alert -->
<div class="alert alert-success alert-dismissible mb-6" role="alert">
<div class="d-flex gap-4">
<div class="alert-icon flex-shrink-0 rounded me-0">
<i class="icon-base ti tabler-percentage"></i>
</div>
<div class="flex-grow-1">
<h5 class="alert-heading mb-1">Available Offers</h5>
<ul class="list-unstyled mb-0">
<li>- 10% Instant Discount on Bank of America Corp Bank Debit and Credit cards</li>
<li>- 25% Cashback Voucher of up to $60 on first ever PayPal transaction. TCA</li>
</ul>
</div>
</div>
<button type="button" class="btn-close btn-pinned" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<!-- Payment Tabs -->
<div class="col-xxl-6 col-lg-8">
<div class="nav-align-top">
<ul class="nav nav-pills card-header-pills row-gap-2 flex-wrap" id="paymentTabs" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="pills-cc-tab" data-bs-toggle="pill" data-bs-target="#pills-cc" type="button" role="tab" aria-controls="pills-cc" aria-selected="true">Card</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-cod-tab" data-bs-toggle="pill" data-bs-target="#pills-cod" type="button" role="tab" aria-controls="pills-cod" aria-selected="false">Cash On Delivery</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-gift-card-tab" data-bs-toggle="pill" data-bs-target="#pills-gift-card" type="button" role="tab" aria-controls="pills-gift-card" aria-selected="false">Gift Card</button>
</li>
</ul>
</div>
<div class="tab-content px-0 pb-0" id="paymentTabsContent">
<!-- Credit card -->
<div class="tab-pane fade show active" id="pills-cc" role="tabpanel" aria-labelledby="pills-cc-tab">
<div class="row g-6">
<div class="col-12">
<label class="form-label w-100" for="paymentCard">Card Number</label>
<div class="input-group input-group-merge">
<input id="paymentCard" name="paymentCard" class="form-control credit-card-mask" type="text" placeholder="1356 3215 6548 7898" aria-describedby="paymentCard2" />
<span class="input-group-text cursor-pointer p-1" id="paymentCard2"><span class="card-type"></span></span>
</div>
</div>
<div class="col-12 col-md-4">
<label class="form-label" for="paymentCardName">Name</label>
<input type="text" id="paymentCardName" class="form-control" placeholder="John Doe" />
</div>
<div class="col-6 col-md-4">
<label class="form-label" for="paymentCardExpiryDate">Exp. Date</label>
<input type="text" id="paymentCardExpiryDate" class="form-control expiry-date-mask" placeholder="MM/YY" />
</div>
<div class="col-6 col-md-4">
<label class="form-label" for="paymentCardCvv">CVV Code</label>
<div class="input-group input-group-merge">
<input type="text" id="paymentCardCvv" class="form-control cvv-code-mask" maxlength="3" placeholder="654" />
<span class="input-group-text cursor-pointer" id="paymentCardCvv2"><i class="icon-base ti tabler-help text-body-secondary" data-bs-toggle="tooltip" data-bs-placement="top" title="Card Verification Value"></i></span>
</div>
</div>
<div class="col-12">
<div class="form-check form-switch mt-2">
<input type="checkbox" class="form-check-input" id="cardFutureBilling" />
<label for="cardFutureBilling" class="form-check-label">Save card for future billing?</label>
</div>
</div>
<div class="col-12">
<button type="button" class="btn btn-primary btn-next me-3">Save Changes</button>
<button type="reset" class="btn btn-label-secondary">Reset</button>
</div>
</div>
</div>
<!-- COD -->
<div class="tab-pane fade" id="pills-cod" role="tabpanel" aria-labelledby="pills-cod-tab">
<p>Cash on Delivery is a type of payment method where the recipient make payment for the order at the time of delivery rather than in advance.</p>
<button type="button" class="btn btn-primary btn-next">Pay On Delivery</button>
</div>
<!-- Gift card -->
<div class="tab-pane fade" id="pills-gift-card" role="tabpanel" aria-labelledby="pills-gift-card-tab">
<h6>Enter Gift Card Details</h6>
<div class="row g-5">
<div class="col-12">
<label for="giftCardNumber" class="form-label">Gift card number</label>
<input type="number" class="form-control" id="giftCardNumber" placeholder="Gift card number" />
</div>
<div class="col-12">
<label for="giftCardPin" class="form-label">Gift card pin</label>
<input type="number" class="form-control" id="giftCardPin" placeholder="Gift card pin" />
</div>
<div class="col-12">
<button type="button" class="btn btn-primary btn-next">Redeem Gift Card</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Address right -->
<div class="col-xl-4">
<div class="border rounded p-6">
<!-- Price Details -->
<h6>Price Details</h6>
<dl class="row text-heading">
<dt class="col-6 fw-normal">Order Total</dt>
<dd class="col-6 text-end">$1198.00</dd>
<dt class="col-6 fw-normal">Delivery Charges</dt>
<dd class="col-6 text-end"><s class="text-body-secondary">$5.00</s> <span class="badge bg-label-success ms-1">FREE</span></dd>
</dl>
<hr class="mx-n6 my-6" />
<dl class="row">
<dt class="col-6 text-heading mb-3">Total</dt>
<dd class="col-6 fw-medium text-end text-heading mb-0">$1198.00</dd>
<dt class="col-6 fw-medium text-heading">Deliver to:</dt>
<dd class="col-6 fw-medium text-end mb-0"><span class="badge bg-label-primary">Home</span></dd>
</dl>
<!-- Address Details -->
<address>
<span class="text-heading fw-medium"> John Doe (Default),</span><br />
4135 Parkway Street, <br />
Los Angeles, CA, 90017. <br />
Mobile : +1 906 568 2332
</address>
<a href="javascript:void(0)" class="fw-medium">Change address</a>
</div>
</div>
</div>
</div>
<!-- Confirmation -->
<div id="checkout-confirmation" class="content">
<div class="row mb-6">
<div class="col-12 col-lg-8 mx-auto text-center mb-2">
<h4>Thank You! 😇</h4>
<p>Your order <a href="javascript:void(0)" class="text-heading fw-medium">#1536548131</a> has been placed!</p>
<p>We sent an email to <a href="mailto:john.doe@example.com" class="text-heading fw-medium">john.doe@example.com</a> with your order confirmation and receipt. If the email hasn't arrived within two minutes, please check your spam folder to see if the email was routed there.</p>
<p>
<span><i class="icon-base ti tabler-clock me-1 text-heading"></i> Time placed:&nbsp;</span> 25/05/2020 13:35pm
</p>
</div>
<!-- Confirmation details -->
<div class="col-12">
<ul class="list-group list-group-horizontal-md">
<li class="list-group-item flex-fill p-6 text-body">
<h6 class="d-flex align-items-center gap-2"><i class="icon-base ti tabler-map-pin"></i> Shipping</h6>
<address class="mb-0">
John Doe <br />
4135 Parkway Street,<br />
Los Angeles, CA 90017,<br />
USA
</address>
<p class="mb-0 mt-4">+123456789</p>
</li>
<li class="list-group-item flex-fill p-6 text-body">
<h6 class="d-flex align-items-center gap-2"><i class="icon-base ti tabler-credit-card"></i> Billing Address</h6>
<address class="mb-0">
John Doe <br />
4135 Parkway Street,<br />
Los Angeles, CA 90017,<br />
USA
</address>
<p class="mb-0 mt-4">+123456789</p>
</li>
<li class="list-group-item flex-fill p-6 text-body">
<h6 class="d-flex align-items-center gap-2"><i class="icon-base ti tabler-ship"></i> Shipping Method</h6>
<p class="fw-medium mb-4">Preferred Method:</p>
Standard Delivery<br />
(Normally 3-4 business days)
</li>
</ul>
</div>
</div>
<div class="row">
<!-- Confirmation items -->
<div class="col-xl-9 mb-6 mb-xl-0">
<ul class="list-group">
<li class="list-group-item p-6">
<div class="d-flex gap-4">
<div class="flex-shrink-0">
<img src="{% static 'img/products/1.png' %}" alt="google home" class="w-px-80" />
</div>
<div class="flex-grow-1">
<div class="row">
<div class="col-md-8">
<a href="javascript:void(0)">
<h6 class="mb-2">Google - Google Home - White</h6>
</a>
<div class="text-body mb-2 d-flex flex-wrap"><span class="me-1">Sold by:</span> <a href="javascript:void(0)" class="me-3">Google</a> <span class="badge bg-label-success">In Stock</span></div>
</div>
<div class="col-md-4">
<div class="text-md-end">
<div class="my-2 my-lg-6"><span class="text-primary">$299/</span><s class="text-body-secondary">$359</s></div>
</div>
</div>
</div>
</div>
</div>
</li>
<li class="list-group-item p-6">
<div class="d-flex gap-4">
<div class="flex-shrink-0">
<img src="{% static 'img/products/2.png' %}" alt="google home" class="w-px-80" />
</div>
<div class="flex-grow-1">
<div class="row">
<div class="col-md-8">
<a href="javascript:void(0)">
<h6 class="mb-2">Apple iPhone 11 (64GB, Black)</h6>
</a>
<div class="text-body mb-2 d-flex flex-wrap"><span class="me-1">Sold by:</span> <a href="javascript:void(0)">Apple</a></div>
</div>
<div class="col-md-4">
<div class="text-md-end">
<div class="my-2 my-lg-6"><span class="text-primary">$299/</span><s class="text-body-secondary">$359</s></div>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
<!-- Confirmation total -->
<div class="col-xl-3">
<div class="border rounded p-6">
<!-- Price Details -->
<h6>Price Details</h6>
<dl class="row mb-0 text-heading">
<dt class="col-6 fw-normal">Order Total</dt>
<dd class="col-6 text-end">$1198.00</dd>
<dt class="col-sm-6 text-heading fw-normal">Charges</dt>
<dd class="col-sm-6 text-end text-body-secondary">$5.00<span class="badge bg-label-success ms-2">FREE</span></dd>
</dl>
<hr class="mx-n6 mb-6" />
<dl class="row mb-0">
<dt class="col-6 text-heading">Total</dt>
<dd class="col-6 fw-medium text-end text-heading mb-0">$1198.00</dd>
</dl>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<!--/ Checkout Wizard -->