'', 'type-2' => '', 'type-3' => '' ]; $current_count = WC()->cart->get_cart_contents_count(); $class = 'ct-header-cart'; $class .= ' ' . blocksy_visibility_classes( blocksy_default_akg('header_cart_visibility', $atts, [ 'desktop' => true, 'tablet' => true, 'mobile' => true, ]) ); $badge_output = ''; if (blocksy_default_akg('has_cart_badge', $atts, 'yes') !== 'yes') { $badge_output = 'data-skip-badge'; } $has_cart_dropdown = blocksy_default_akg( 'has_cart_dropdown', $atts, 'yes' ) === 'yes'; $subtotal_output = ''; if (is_customize_preview()) { $subtotal_output = 'data-subtotal="' . esc_attr(WC()->cart->get_cart_subtotal()) . '"'; } $type = blocksy_default_akg('mini_cart_type', $atts, 'type-1'); if (empty($type)) { $type = 'type-1'; } ?>
> data-count=""> cart->get_cart_subtotal(); ?> 'ct-cart-content'], $content ); } ?>