'0' ), 'header_padding' ); $paddings = ''; $header_show_cart = apply_filters( 'stm_me_get_nuxy_mod', false, 'header_show_cart' ); $logo_margin_top = apply_filters( 'stm_me_get_nuxy_mod', array( 'top' => '0' ), 'logo_margin_top' ); $shopping_cart_title = apply_filters( 'stm_me_get_nuxy_mod', '', 'header_cart_title' ); if ( ! empty( $header_padding_conf ) ) { foreach ( $header_padding_conf as $property => $value ) { if ( ! empty( $value ) && 'unit' !== $property ) { $paddings .= "$value{$header_padding_conf['unit']} "; } $header_padding = "padding: $paddings"; } } $header_style_desktop = 'style="background-color: ' . $rgba_desktop . ';' . ( ! empty( $header_padding ) ? ' ' . $header_padding . ';' : '' ) . '"'; if ( ! empty( $fixed_header ) && $fixed_header ) { $fixed_header_class = 'header-auto-parts-fixed'; } else { $fixed_header_class = 'header-auto-parts-unfixed'; } $cart_total = 0; if ( function_exists( 'WC' ) ) { $woocommerce_shop_page_id = wc_get_cart_url(); $items = 0; if ( ! empty( WC()->cart->cart_contents_count ) ) { $items = WC()->cart->cart_contents_count; } $cart_total = WC()->cart->get_cart_total(); } $show_cart = stm_me_get_nuxy_mod( 'header_show_cart', false ); ?>