{# # Mini Cart / Cart Widget (Bootstrap 5 Override) # # Renders the mini cart as an offcanvas slide-in panel. # # Expected context: # cart_items - Array from WC()->cart->get_cart() # cart_is_empty - Whether cart is empty # cart_subtotal - Cart subtotal HTML # args - Widget arguments (list_class) # # WooCommerce PHP equivalent: cart/mini-cart.php # # @package WcBootstrap # @since 0.1.0 #} {{ do_action('woocommerce_before_mini_cart') }} {% if not cart_is_empty|default(true) %}
{{ __('Subtotal:') }} {{ cart_subtotal|raw }}