wickes-css2 2.101.0-develop.4 → 2.101.0-develop.6
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/Readme.md +1 -0
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/page_checkout-payment-details.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/img/mastercard.svg +5 -0
- package/build/img/visa-logo.svg +3 -0
- package/package.json +1 -1
- package/src/components/checkout-payment-details-v2.hbs +11 -6
- package/src/components/order-summary.hbs +2 -2
- package/src/elements/radiobutton.hbs +9 -1
- package/src/img/mastercard.svg +5 -0
- package/src/img/visa-logo.svg +3 -0
- package/src/page_payment-details-with-gift-card.html +67 -0
- package/src/partials/footer-checkout-v2.hbs +5 -3
- package/src/scss/components/_billie-online-messaging.scss +2 -0
- package/src/scss/components/_payments-checkout.scss +1 -1
- package/src/scss/components/checkout-payment-details-v2.scss +1 -1
- package/src/scss/pages/page_checkout-payment-details.scss +16 -0
- package/src/sitemap.html +11 -2
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="38" height="23" viewBox="0 0 38 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M26.2207 0.339844C32.369 0.339844 37.3535 5.26471 37.3535 11.3398C37.3535 17.415 32.369 22.3398 26.2207 22.3398C23.4644 22.3397 20.9441 21.3475 19 19.708C17.0558 21.3475 14.5356 22.3398 11.7793 22.3398C5.631 22.3398 0.646484 17.415 0.646484 11.3398C0.646484 5.26471 5.631 0.339844 11.7793 0.339844C14.5353 0.339925 17.0559 1.33143 19 2.9707C20.9441 1.33142 23.4647 0.339941 26.2207 0.339844Z" fill="#ED0006"/>
|
|
3
|
+
<path d="M26.2207 0.339844C32.369 0.339844 37.3535 5.26471 37.3535 11.3398C37.3535 17.415 32.369 22.3398 26.2207 22.3398C23.4644 22.3398 20.9442 21.3475 19 19.708C21.3925 17.6904 22.9111 14.6914 22.9111 11.3398C22.9111 7.9881 21.3927 4.9883 19 2.9707C20.9441 1.33143 23.4647 0.339924 26.2207 0.339844Z" fill="#F9A000"/>
|
|
4
|
+
<path d="M19 2.9707C21.3928 4.98828 22.9111 7.98807 22.9111 11.3398C22.9111 14.6914 21.3925 17.6904 19 19.708C16.6077 17.6904 15.0889 14.6913 15.0889 11.3398C15.0889 7.98819 16.6073 4.98827 19 2.9707Z" fill="#FF5E00"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="40" height="14" viewBox="0 0 40 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0004 13.8081H6.53867L3.94278 3.61338C3.81957 3.14442 3.55796 2.72983 3.17313 2.53443C2.21275 2.04339 1.15448 1.65259 0 1.45549V1.06299H5.57661C6.34626 1.06299 6.9235 1.65259 7.0197 2.33734L8.3666 9.69115L11.8267 1.06299H15.1922L10.0004 13.8081ZM17.1164 13.8081H13.847L16.5391 1.06299H19.8085L17.1164 13.8081ZM24.0381 4.59377C24.1344 3.90733 24.7116 3.51483 25.385 3.51483C26.4433 3.41628 27.5961 3.61338 28.5582 4.10272L29.1354 1.35864C28.1733 0.966141 27.1151 0.769043 26.1547 0.769043C22.9816 0.769043 20.6726 2.53443 20.6726 4.98457C20.6726 6.84851 22.3081 7.8272 23.4626 8.4168C24.7116 9.0047 25.1926 9.3972 25.0964 9.98509C25.0964 10.8669 24.1344 11.2594 23.174 11.2594C22.0195 11.2594 20.865 10.9655 19.8084 10.4744L19.2312 13.2202C20.3857 13.7096 21.6347 13.9067 22.7892 13.9067C26.3471 14.0035 28.5582 12.2398 28.5582 9.5926C28.5582 6.25891 24.0381 6.06351 24.0381 4.59377ZM40 13.8081L37.4041 1.06299H34.6158C34.0386 1.06299 33.4613 1.45549 33.2689 2.04339L28.462 13.8081H31.8275L32.4993 11.9459H36.6345L37.0193 13.8081H40ZM35.0968 4.49522L36.0572 9.29865H33.3651L35.0968 4.49522Z" fill="#172B85"/>
|
|
3
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
<div class="checkout-payment-details__row">
|
|
5
5
|
<div class="checkout-payment-details__descr">
|
|
6
6
|
<h3 class="checkout-payment-details__title">Payment method</h3>
|
|
7
|
+
<div class="form-row">
|
|
8
|
+
<div class="form-row__field">
|
|
9
|
+
{{> radiobutton
|
|
10
|
+
labelIcons=(array "./img/visa-logo.svg" "./img/mastercard.svg")
|
|
11
|
+
name="payment-method"
|
|
12
|
+
id="checkout-payment-details-card"
|
|
13
|
+
checked=true
|
|
14
|
+
value="card"
|
|
15
|
+
}}
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
7
18
|
{{#if billie}}
|
|
8
19
|
<div class="form-row">
|
|
9
20
|
<div class="form-row__field form-row__field-billie">
|
|
@@ -108,11 +119,6 @@
|
|
|
108
119
|
</div>
|
|
109
120
|
</div>
|
|
110
121
|
{{/if}}
|
|
111
|
-
<div class="form-row">
|
|
112
|
-
<div class="form-row__field">
|
|
113
|
-
{{> radiobutton label="Credit/Debit card" name="payment-method" id="checkout-payment-details-card" checked=true value="card"}}
|
|
114
|
-
</div>
|
|
115
|
-
</div>
|
|
116
122
|
<div class="form-row">
|
|
117
123
|
<div class="form-row__field">
|
|
118
124
|
<label class="rbn rbn_align" for="checkout-payment-details-paypal">
|
|
@@ -120,7 +126,6 @@
|
|
|
120
126
|
<ins></ins>
|
|
121
127
|
<img class="checkout-payment-details__icon" src="img/payments_paypal-large.png" width="90" height="24" alt="paypal">
|
|
122
128
|
</label>
|
|
123
|
-
<p class="checkout-payment-details__paypal-email">contact@gmail.com <a href="#">Delete</a></p>
|
|
124
129
|
</div>
|
|
125
130
|
</div>
|
|
126
131
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="collapse summary__aside container" id="checkout-summary-mobile-accordion-{{id}}" data-sticky-element>
|
|
5
5
|
|
|
6
6
|
{{> checkout_order-summary-new head=title mod=mod id=(concat id "-mobile") mobile="true"}}
|
|
7
|
-
{{#unless basket}}
|
|
7
|
+
{{#unless (or basket checkout)}}
|
|
8
8
|
<div class="summary__payment footer-checkout">
|
|
9
9
|
{{#unless merged}}
|
|
10
10
|
{{#if paymentsCheckoutV2}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{#if clearpay-placement}}
|
|
65
65
|
{{> clearpay applyMargin=true hasKlarna=true}}
|
|
66
66
|
{{/if}}
|
|
67
|
-
{{#unless basket}}
|
|
67
|
+
{{#unless (or basket checkout)}}
|
|
68
68
|
<div class="summary__payment footer-checkout">
|
|
69
69
|
{{#unless merged}}
|
|
70
70
|
{{#if paymentsCheckoutV2 }}
|
|
@@ -11,7 +11,15 @@
|
|
|
11
11
|
{{#if dataTarget}}data-target={{dataTarget}}{{/if}}
|
|
12
12
|
>
|
|
13
13
|
<ins></ins>
|
|
14
|
-
|
|
14
|
+
{{#if labelIcons}}
|
|
15
|
+
<span class="rbn__icons" aria-hidden="true">
|
|
16
|
+
{{#each labelIcons}}
|
|
17
|
+
<img src="{{this}}" alt="{{altFromSrc this}}" />
|
|
18
|
+
{{/each}}
|
|
19
|
+
</span>
|
|
20
|
+
{{else}}
|
|
21
|
+
<span>{{label}}</span>
|
|
22
|
+
{{/if}}
|
|
15
23
|
{{#block "html"}}{{/block}}
|
|
16
24
|
{{#if error}}
|
|
17
25
|
<div class="form-row__error">{{error}}</div>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="38" height="23" viewBox="0 0 38 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M26.2207 0.339844C32.369 0.339844 37.3535 5.26471 37.3535 11.3398C37.3535 17.415 32.369 22.3398 26.2207 22.3398C23.4644 22.3397 20.9441 21.3475 19 19.708C17.0558 21.3475 14.5356 22.3398 11.7793 22.3398C5.631 22.3398 0.646484 17.415 0.646484 11.3398C0.646484 5.26471 5.631 0.339844 11.7793 0.339844C14.5353 0.339925 17.0559 1.33143 19 2.9707C20.9441 1.33142 23.4647 0.339941 26.2207 0.339844Z" fill="#ED0006"/>
|
|
3
|
+
<path d="M26.2207 0.339844C32.369 0.339844 37.3535 5.26471 37.3535 11.3398C37.3535 17.415 32.369 22.3398 26.2207 22.3398C23.4644 22.3398 20.9442 21.3475 19 19.708C21.3925 17.6904 22.9111 14.6914 22.9111 11.3398C22.9111 7.9881 21.3927 4.9883 19 2.9707C20.9441 1.33143 23.4647 0.339924 26.2207 0.339844Z" fill="#F9A000"/>
|
|
4
|
+
<path d="M19 2.9707C21.3928 4.98828 22.9111 7.98807 22.9111 11.3398C22.9111 14.6914 21.3925 17.6904 19 19.708C16.6077 17.6904 15.0889 14.6913 15.0889 11.3398C15.0889 7.98819 16.6073 4.98827 19 2.9707Z" fill="#FF5E00"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="40" height="14" viewBox="0 0 40 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0004 13.8081H6.53867L3.94278 3.61338C3.81957 3.14442 3.55796 2.72983 3.17313 2.53443C2.21275 2.04339 1.15448 1.65259 0 1.45549V1.06299H5.57661C6.34626 1.06299 6.9235 1.65259 7.0197 2.33734L8.3666 9.69115L11.8267 1.06299H15.1922L10.0004 13.8081ZM17.1164 13.8081H13.847L16.5391 1.06299H19.8085L17.1164 13.8081ZM24.0381 4.59377C24.1344 3.90733 24.7116 3.51483 25.385 3.51483C26.4433 3.41628 27.5961 3.61338 28.5582 4.10272L29.1354 1.35864C28.1733 0.966141 27.1151 0.769043 26.1547 0.769043C22.9816 0.769043 20.6726 2.53443 20.6726 4.98457C20.6726 6.84851 22.3081 7.8272 23.4626 8.4168C24.7116 9.0047 25.1926 9.3972 25.0964 9.98509C25.0964 10.8669 24.1344 11.2594 23.174 11.2594C22.0195 11.2594 20.865 10.9655 19.8084 10.4744L19.2312 13.2202C20.3857 13.7096 21.6347 13.9067 22.7892 13.9067C26.3471 14.0035 28.5582 12.2398 28.5582 9.5926C28.5582 6.25891 24.0381 6.06351 24.0381 4.59377ZM40 13.8081L37.4041 1.06299H34.6158C34.0386 1.06299 33.4613 1.45549 33.2689 2.04339L28.462 13.8081H31.8275L32.4993 11.9459H36.6345L37.0193 13.8081H40ZM35.0968 4.49522L36.0572 9.29865H33.3651L35.0968 4.49522Z" fill="#172B85"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details with Gift Cards" isAsideSticky="true" clearPayIcon=true billieIcon=true checkout=true}}
|
|
2
|
+
|
|
3
|
+
{{#content "head" mode="append"}}
|
|
4
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
|
|
5
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_checkout_delivery-new.css">
|
|
6
|
+
<link type="text/css" rel="stylesheet" href="./css/components/payment-details-BPS-form.css">
|
|
7
|
+
<link type="text/css" rel="stylesheet" href="./css/components/checkout-payment-details-v2.css">
|
|
8
|
+
|
|
9
|
+
<script src="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js"></script>
|
|
10
|
+
{{/content}}
|
|
11
|
+
{{#content "notification"}}
|
|
12
|
+
{{> notifications notification-page.error text="Sorry, there are errors on this page. Please review the information you've entered and update sections marked in red."}}
|
|
13
|
+
{{/content}}
|
|
14
|
+
{{#content "steps"}}
|
|
15
|
+
{{> steps-three-steps active-step-index="2"}}
|
|
16
|
+
{{/content}}
|
|
17
|
+
|
|
18
|
+
{{#content "aside"}}
|
|
19
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true checkout=true}}
|
|
20
|
+
{{/content}}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
{{#content "main"}}
|
|
24
|
+
<div class="delivery-block">
|
|
25
|
+
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
26
|
+
<div class="delivery-block__wrapper">
|
|
27
|
+
{{#with checkoutOrder.deliveryPayments.[0]}}
|
|
28
|
+
<div class="checkout-order">
|
|
29
|
+
{{> checkout-order-block}}
|
|
30
|
+
</div>
|
|
31
|
+
{{/with}}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="click-collect-block">
|
|
36
|
+
<h3 class="click-collect-block__heading">Click & Collect</h3>
|
|
37
|
+
<div class="click-collect-block__wrapper">
|
|
38
|
+
{{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
|
|
39
|
+
<div class="checkout-order">
|
|
40
|
+
{{> checkout-order-block}}
|
|
41
|
+
</div>
|
|
42
|
+
{{/with}}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div class="billing-payment-block">
|
|
47
|
+
<h3 class="billing-payment-block__heading">Billing & Payment</h3>
|
|
48
|
+
<div class="billing-payment-block__wrapper">
|
|
49
|
+
{{> checkout-payment-details-v2 apple-pay=true google-pay=true clear-pay=true billie=true}}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
{{/content}}
|
|
54
|
+
|
|
55
|
+
{{#content "foot" mode="append"}}
|
|
56
|
+
<script
|
|
57
|
+
async
|
|
58
|
+
src="https://pay.google.com/gp/p/js/pay.js">
|
|
59
|
+
</script>
|
|
60
|
+
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
61
|
+
<script defer src="./js/page/checkout-payment-details.js"></script>
|
|
62
|
+
<script defer src="./js/page/klarna-modal-scroll-disable.js"></script>
|
|
63
|
+
<script defer src="./js/page/billie-business-type.js"></script>
|
|
64
|
+
{{> checkout-terms-and-conditions-modal }}
|
|
65
|
+
{{> payment-loader hidden=true spinnerTypes=(array "billie-logo" "clearpay-logo" "paypal-logo")}}
|
|
66
|
+
{{/content}}
|
|
67
|
+
{{/extend}}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<footer class="checkout-footer">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
{{#unless checkout}}
|
|
3
|
+
<div class="footer-nav">
|
|
4
|
+
{{> payments }}
|
|
5
|
+
</div>
|
|
6
|
+
{{/unless}}
|
|
5
7
|
<div class="footer-bottom">
|
|
6
8
|
<div class="footer-bottom__wrapper container">
|
|
7
9
|
{{> socials}}
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
font-weight: 500;
|
|
29
29
|
line-height: 1rem;
|
|
30
30
|
color: $gray-dark;
|
|
31
|
+
white-space: normal;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
&__link {
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
text-decoration: underline;
|
|
36
37
|
font-weight: 400;
|
|
37
38
|
white-space: nowrap;
|
|
39
|
+
display: inline-block;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
&__subtitle {
|
|
@@ -11,6 +11,22 @@
|
|
|
11
11
|
line-height: 1.375em;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.rbn__icons {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 8px;
|
|
18
|
+
vertical-align: top;
|
|
19
|
+
|
|
20
|
+
img {
|
|
21
|
+
border: 1px solid $gray;
|
|
22
|
+
background-color: $white;
|
|
23
|
+
border-radius: 3px;
|
|
24
|
+
width: 48px;
|
|
25
|
+
height: 30px;
|
|
26
|
+
padding: 4px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
14
30
|
&__payment-method,
|
|
15
31
|
&__card-details {
|
|
16
32
|
&_hidden {
|
package/src/sitemap.html
CHANGED
|
@@ -950,8 +950,17 @@
|
|
|
950
950
|
</a>
|
|
951
951
|
</li>
|
|
952
952
|
</ul>
|
|
953
|
-
|
|
954
|
-
|
|
953
|
+
<h3>
|
|
954
|
+
Pages with Gift Cards
|
|
955
|
+
</h3>
|
|
956
|
+
<ul>
|
|
957
|
+
<li>
|
|
958
|
+
<span class="page-id">1</span>
|
|
959
|
+
<a href="page_payment-details-with-gift-card.html" target="_blank">
|
|
960
|
+
Page with Gift Cards
|
|
961
|
+
</a>
|
|
962
|
+
</li>
|
|
963
|
+
</ul>
|
|
955
964
|
</div>
|
|
956
965
|
<div class="col">
|
|
957
966
|
<h3>Basket</h3>
|