правки checkout cart
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* Standalone cart template styled like the test1 landing page.
|
||||
* Cart template with shared test1 header/footer and default Woo content.
|
||||
*
|
||||
* @package Twenty_Twenty_Four
|
||||
* @since Twenty Twenty-Four 1.0
|
||||
*/
|
||||
|
||||
?><!DOCTYPE html>
|
||||
@@ -13,73 +12,24 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class( 'test1-cart-page' ); ?>>
|
||||
<body <?php body_class( 'test1-shared-shell test1-shared-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 = 'Оформление';
|
||||
$test1_header_action_label = __( 'Оформление', 'twentytwentyfour' );
|
||||
$test1_header_mode = 'link';
|
||||
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 class="site-main" role="main">
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
the_content();
|
||||
endwhile;
|
||||
?>
|
||||
</main>
|
||||
|
||||
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user