-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcheckout-confirm.html.twig
More file actions
43 lines (40 loc) · 1.95 KB
/
Copy pathcheckout-confirm.html.twig
File metadata and controls
43 lines (40 loc) · 1.95 KB
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
{% extends 'checkout-base.html.twig' %}
{% block title %}{{ 'Your order'|trans }}{% endblock %}
{% block checkoutContent %}
{{ theme_hook('order-placed.top') }}
<div class="flex flex-col items-center justify-center text-center text-black">
{{ ux_icon('cart-illustration', {class: 'w-40 h-auto block mx-auto mb-6'}) }}
<h3 class="mt-4 h3">{{ 'Thanks for your order !'|trans }}</h3>
<p class="paragraph-3 mt-4 mb-8">
<span class="block">{{ 'Your payment has been confirmed'|trans }}</span>
<span>{{ "We'll do everything we can to send your order as quickly as possible!"|trans }}</span>
</p>
{# An order placed without an account: the only way back to it is the link, which
the buyer also receives by email. Offered here while it is still on screen. #}
{% if guest_order_token|default(null) %}
<div class="flex flex-col items-center gap-4 mb-8">
<p class="paragraph-3">
{{ 'A link to follow your order has been sent to your email address.'|trans }}
</p>
<div class="flex flex-col sm:flex-row gap-4">
<twig:Molecules:Button:Base
text="{{ 'Follow my order'|trans }}"
href="{{ path('guest_order_track', {token: guest_order_token}) }}"
color="secondary"
/>
<twig:Molecules:Button:Base
text="{{ 'Create my account'|trans }}"
href="{{ path('guest_order_account', {token: guest_order_token}) }}"
color="secondary"
/>
</div>
</div>
{% endif %}
<twig:Molecules:Button:Base
text="{{ 'Back to the store'|trans }}"
size="large"
href="{{ path('index') }}"
/>
</div>
{{ theme_hook('order-placed.bottom') }}
{% endblock %}