Files
BiveEngine/playarea/templates/pages/thanks_order.php
2025-12-24 19:19:01 +03:00

54 lines
2.9 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php $this->template_load("head.php"); ?>
<?php $this->template_load("header.php"); ?>
<?php
$order_id = $b->session_get("order");
$purchase = new Purchase($order_id);
$products = $purchase->get_product_items();
?>
<section class="section first-other thankyou" id="print-content">
<div class="container-small">
<h1>Спасибо за заказ!</h1>
<ul class="thankyou__wrapper thank-wrapper">
<li class="thank-wrapper__item">
<figure class="thank-wrapper__image">
<img src="<?= $b->pa_get_assets_dir() ?>main/images/thankyou1.svg" alt="" />
</figure>
<p>
Ожидайте, наш менеджер позвонит Вам завтра с 8:00 до 10:00 по
московскому времени. Если вы пропустили звонок, то просто
перезвоните нам по номеру <?= $b->setting_get_value("contact_phone"); ?> или ожидайте
повторного звонка.
</p>
</li>
<li class="thank-wrapper__item">
<figure class="thank-wrapper__image">
<img src="<?= $b->pa_get_assets_dir() ?>main/images/thankyou2.svg" alt="" />
</figure>
<p>
Изменения в статусе заказа мы будем отправлять на ваш электронный
адрес и по смс. Так же за состоянием заказа вы можете следить из
своего личного кабинета (профиль - заказы).
</p>
</li>
<li class="thank-wrapper__item">
<figure class="thank-wrapper__image">
<img src="<?= $b->pa_get_assets_dir() ?>main/images/thankyou3.svg" alt="" />
</figure>
<p>Если у вас есть уточняющие вопросы позвоните по номеру <?= $b->setting_get_value("contact_phone"); ?> или напишите нам на <?= $b->setting_get_value("contact_email"); ?></p>
</li>
</ul>
<div class="variants__products cart__list cart-list">
<?php foreach ($products as $key => $product) { ?>
<?php $b->template_load("thanks_order/product_row.php", array("product" => $product["item"], "count" => $product["count"])); ?>
<?php } ?>
</div>
<?php $b->template_load("thanks_order/price.php", array("purchase" => $purchase)); ?>
<?php $b->template_load("thanks_order/contact.php", array("purchase" => $purchase)); ?>
<a class="thankyou__btn" href="javascript:window.print();">распечатать</a>
</div>
</section>
<?php $this->template_load("footer.php"); ?>