Server IP : 198.54.125.146 / Your IP : 3.145.46.212 [ Web Server : LiteSpeed System : Linux business38.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : engixevu ( 716) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/engixevu/smartjobbox.com/wp-content/themes/bloghash/woocommerce/cart/header-widget/ |
Upload File : |
<?php /** * Header Cart Widget dropdown header. * * @package BlogHash */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } $bloghash_cart_count = WC()->cart->get_cart_contents_count(); $bloghash_cart_subtotal = WC()->cart->get_cart_subtotal(); ?> <div class="wc-cart-widget-header"> <span class="bloghash-cart-count"> <?php /* translators: %s: the number of cart items; */ echo wp_kses_post( sprintf( _n( '%s item', '%s items', $bloghash_cart_count, 'bloghash' ), $bloghash_cart_count ) ); ?> </span> <span class="bloghash-cart-subtotal"> <?php /* translators: %s is the cart subtotal. */ echo wp_kses_post( sprintf( __( 'Subtotal: %s', 'bloghash' ), '<span>' . $bloghash_cart_subtotal . '</span>' ) ); ?> </span> </div>