Anton | настройка checkout

This commit is contained in:
ab.an.ev@yandex.ru
2026-04-02 11:44:35 +03:00
parent 50d6fe60ed
commit 3be8f9d1c4
5 changed files with 390 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ function twentytwentyfour_test1_catalog_markup() {
<div class="card-price"><strong><?php echo esc_html( $price ); ?></strong><span><?php esc_html_e( 'из WooCommerce', 'twentytwentyfour' ); ?></span></div>
<button
class="mini-button add-to-cart"
data-product-id="<?php echo esc_attr( (string) $product->get_id() ); ?>"
data-name="<?php echo esc_attr( $product->get_name() ); ?>"
data-volume="<?php echo esc_attr( $volume ); ?>"
data-price="<?php echo esc_attr( (string) wc_get_price_to_display( $product ) ); ?>"