-
Notifications
You must be signed in to change notification settings - Fork 9
/
subscribe.html
127 lines (122 loc) · 6.47 KB
/
subscribe.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{% extends "layout.html" %}
{% block content %}
<div class="container ce sub-ce">
<div class="row">
<div class="col-lg-3 col-12 sidebar">
{% include "header_2.html" %}
{{ modules|raw }}
</div>
<div class="col-lg-9 col-12 mainbar mt-lg-0 mt-2">
<div class="basket position-relative mb-2 p-4">
<h4 class="mb-1"><i class="fa-solid fa-basket-shopping me-1"></i>{{ __("Your Basket") }}</h4>
<div class="row second-line">
<div class="col-12">
<div class="checkout">
<div class="packages">
{% for package in basket.packages %}
<form method="post" action="/checkout/update" id="package--{{package.id}}" class="package p-3 mt-2 d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-start align-items-center">
<div class="img-holder me-2">
<img src="{{ package.image.url }}" alt="">
</div>
<div class="pack-info">
<span class="big">{{package.name[:20] }}</span>
<div class="sml">
{% if package.discount.applied %}
<del class="text-danger small font-weight-bold discount">
{{ package.discount.original|money }}
</del>
{% endif %}
{%if package.disableQuantity %}
<span class="price-actual">{{ package.price|money }} <small>{{ basket.currency }}</small></span>
{%else%}
<span class="price-actual">{{ package.quantity * package.price|money }} <small>{{ basket.currency }}</small> every {{ basket.packages[0].expiryPeriod }}</span>
{%endif%}
</div>
</div>
</div>
<div class="package-buttons d-flex justify-content-end align-items-center">
<a href="javascript:void(0);" data-remote="/package/{{ package.id }}"
class="btn btn-info toggle-modal drop-shadow ms-2"><i class="fa-solid fa-info"></i></a>
<a href="/checkout/packages/remove/{{ package.id }}"
class="btn btn--remove cursorAura drop-shadow d-flex justify-content-center align-items-center ms-2"><i class="fa-solid fa-trash-can-arrow-up"></i></a>
</div>
</form>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
<div class="coupons p-4">
<h4 class="mb-2"><i class="fa-solid fa-gift me-1"></i>{{ __("Redeem coupons / gift cards") }}</h4>
<div class="coupons">
<div class="redeem">
<form method="post" action="/checkout/basketcoupon/add">
<div class="input-group mb-3">
<input type="text" name="coupon" placeholder="{{ __("Have a coupon code? Enter it here and click redeem.") }}"
class="form-control">
<div class="input-group-append">
<button class="btn btn-primary">{{ __("Redeem") }} <i class="fa fa-chevron-right"></i></button>
</div>
</div>
</form>
</div>
</div>
{% if basket.coupons|length > 0 %}
<div class="col-12 col-xl-6">
<div class="redeemed mt-4 mt-xl-0">
<h4 class=""><i class="fa-solid fa-check-to-slot"></i>{{ __("Redeemed coupons / gift cards") }}</h4>
<table class="table table-hover table-striped table-responsive">
<tbody>
{% for coupon in basket.coupons %}
<tr>
<td>Coupon Code</td>
<td>{{ coupon.code }}</td>
<td>{{ coupon.description }}</td>
<td>
<a href="/checkout/basketcoupon/remove/{{ coupon.basket_id ?: coupon.code }}"><i class="fas fa-times-circle text-danger"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endif %}
</div>
{% if store.useCheckout %}
<div class="tebexcheckout mt-2">
<div class="panel panel-default d-flex drop-shadow">
<div class="panel-body is-lhs p-4">
<div class="panel-heading">
<h4 class="mb-2"><i class="fa-solid fa-wallet me-1"></i>Pay {{ basket.price|money }} {{ basket.currency }}</h4>
</div>
<p>
You will be taken to Tebex Checkout, a secure and trusted
payment playform where you can choose to pay with PayPal
or a credit/debit card.
</p>
<div class="secure">
<i class="fa-solid fa-lock me-1"></i>
<span>SECURE & ENCRYPTED</span>
<img src="https://i.imgur.com/k5fyRPQ.png" alt="PayPal or Credit/Debit Card">
</div>
</div>
<div class="panel-body is-rhs p-4 position-relative d-flex justify-content-center align-items-center">
<a href="/checkout/pay" class="btn btn-success drop-shadow">
PAY {{ basket.price|money }} {{ basket.currency }} NOW
<i class="fa-solid fa-right-long"></i>
</a>
<div class="bg"></div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
<div class="bg-cta w-100 d-block">
{% include "content_footer.html" %}
</div>
{% endblock %}