Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function techmarket_cart_link() {
- ?>
- <a class="cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" data-toggle="dropdown" title="<?php esc_attr_e( 'View your shopping cart', 'techmarket' ); ?>">
- <i class="header-cart-icon <?php echo esc_attr( apply_filters( 'techmarket_header_cart_icon', 'tm tm-shopping-bag' ) ); ?>"></i>
- <span class="count"><?php echo wp_kses_data( WC()->cart->get_cart_contents_count() ); ?></span>
- <span class="amount"><span class="price-label"><?php echo apply_filters( 'techmarket_header_cart_link_label', esc_html__( 'Your Cart', 'techmarket' ) ); ?></span><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span>
- </a>
- <?php
- }
Add Comment
Please, Sign In to add comment