Files
dostavka_vodi/wp-content/themes/twentytwentyfour/page-cart.php
2026-04-02 15:18:11 +03:00

87 lines
4.1 KiB
PHP

<?php
/**
* Standalone cart template styled like the test1 landing page.
*
* @package Twenty_Twenty_Four
* @since Twenty Twenty-Four 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class( 'test1-cart-page' ); ?>>
<?php wp_body_open(); ?>
<?php
$test1_header_action_url = function_exists( 'wc_get_checkout_url' ) ? wc_get_checkout_url() : '';
$test1_header_action_label = 'Оформление';
require get_theme_file_path( 'template-parts/test1-shared-header.php' );
?>
<main id="top">
<section class="hero checkout-hero">
<div class="container">
<div class="premium-stage premium-stage-cart">
<div class="premium-orb premium-orb-one" aria-hidden="true"></div>
<div class="premium-orb premium-orb-two" aria-hidden="true"></div>
<?php twentytwentyfour_water_delivery_progress_markup( 'cart' ); ?>
<div class="checkout-shell">
<div class="hero-copy checkout-intro reveal">
<span class="eyebrow"><?php esc_html_e( 'Ваш заказ', 'twentytwentyfour' ); ?></span>
<h1 class="hero-title"><?php esc_html_e( 'Корзина', 'twentytwentyfour' ); ?> <span><?php esc_html_e( 'для доставки воды в Севастополе', 'twentytwentyfour' ); ?></span></h1>
<p class="hero-text"><?php esc_html_e( 'Проверьте товары в корзине перед оформлением: количество бутылей, объем воды, итоговую стоимость и дополнительные позиции. После этого можно быстро перейти к оформлению доставки на дом или в офис.', 'twentytwentyfour' ); ?></p>
<div class="hero-actions">
<a class="ghost-button" href="<?php echo esc_url( home_url( '/test1/#catalog' ) ); ?>"><?php esc_html_e( 'Добавить еще товары', 'twentytwentyfour' ); ?></a>
</div>
</div>
<div class="premium-stack reveal reveal-delay-1">
<aside class="glass-card premium-aside premium-aside-cart">
<div class="premium-aside-head">
<h2><?php esc_html_e( 'Подготовьте корзину к оформлению', 'twentytwentyfour' ); ?></h2>
</div>
<div class="premium-timeline">
<div class="premium-timeline-item">
<strong>01</strong>
<span><?php esc_html_e( 'Проверьте объем воды и количество бутылей для дома, офиса или коммерческого объекта', 'twentytwentyfour' ); ?></span>
</div>
<div class="premium-timeline-item">
<strong>02</strong>
<span><?php esc_html_e( 'При необходимости измените количество товаров, удалите лишние позиции или примените купон', 'twentytwentyfour' ); ?></span>
</div>
<div class="premium-timeline-item">
<strong>03</strong>
<span><?php esc_html_e( 'Перейдите к оформлению заказа и укажите адрес доставки воды по Севастополю', 'twentytwentyfour' ); ?></span>
</div>
</div>
<div class="cart-side-note">
<p><?php esc_html_e( 'После проверки состава заказа вы сразу увидите итоговую сумму, стоимость доставки по вашей зоне и сможете перейти к оформлению без лишних шагов.', 'twentytwentyfour' ); ?></p>
</div>
</aside>
<div class="glass-card checkout-card premium-form-card">
<?php
while ( have_posts() ) :
the_post();
the_content();
endwhile;
?>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
<?php wp_footer(); ?>
</body>
</html>