'product_cat', 'field' => 'slug', 'terms' => explode(',', sanitize_text_field($_GET['product_cat'])), 'operator' => 'IN', ); } $shop_hero_selected_brand_slugs = array(); if ( !empty($_GET['product_brand']) ) { $shop_hero_selected_brand_slugs = explode(',', sanitize_text_field($_GET['product_brand'])); $shop_hero_tax_query[] = array( 'taxonomy' => 'product_brand', 'field' => 'slug', 'terms' => $shop_hero_selected_brand_slugs, 'operator' => 'IN', ); } $shop_hero_product_ids = get_posts(array( 'post_type' => 'product', 'posts_per_page' => -1, 'fields' => 'ids', 'tax_query' => $shop_hero_tax_query, )); $shop_hero_products_count = count($shop_hero_product_ids); $shop_brand_term = null; if ( !empty($shop_hero_selected_brand_slugs) ) { $shop_hero_first_term = get_term_by('slug', trim($shop_hero_selected_brand_slugs[0]), 'product_brand'); if ( $shop_hero_first_term && !is_wp_error($shop_hero_first_term) ) { $shop_brand_term = $shop_hero_first_term->parent ? get_term($shop_hero_first_term->parent, 'product_brand') : $shop_hero_first_term; } } if ( $shop_brand_term ) { $shop_hero_url_cat_slugs = !empty( $_GET['product_cat'] ) ? array_values( array_filter( array_map( 'trim', explode( ',', sanitize_text_field( $_GET['product_cat'] ) ) ) ) ) : array(); $shop_hero_generic_title = true; if ( count( $shop_hero_url_cat_slugs ) === 1 ) { $shop_hero_generic_title = false; $shop_hero_cat_brand_terms = zen_get_cascaded_brands( $shop_hero_url_cat_slugs[0] ); $shop_hero_cat_brand_ids = is_array( $shop_hero_cat_brand_terms ) ? wp_list_pluck( $shop_hero_cat_brand_terms, 'term_id' ) : array(); if ( !in_array( $shop_brand_term->term_id, $shop_hero_cat_brand_ids ) ) { $shop_hero_generic_title = true; } } $shop_hero_tid = 'product_brand_' . $shop_brand_term->term_id; $shop_hero_badge = get_field('shop_hero_badge', $shop_hero_tid) ?: 'Official Authorized Distributor'; $shop_hero_title_line1 = get_field('shop_hero_title_line1', $shop_hero_tid) ?: ($shop_brand_term->name . ' ' . ( $shop_hero_generic_title ? 'Generic' : 'Enterprise' )); $shop_hero_title_highlight= get_field('shop_hero_title_highlight', $shop_hero_tid) ?: 'Product Catalog'; $shop_hero_subtitle = get_field('shop_hero_subtitle', $shop_hero_tid) ?: ('Browse the complete ' . $shop_brand_term->name . ' portfolio — genuine products sourced directly from authorized distribution channels.'); $shop_hero_breadcrumb_label = $shop_brand_term->name; $shop_hero_breadcrumb_link = get_term_link($shop_brand_term); $shop_hero_cta_heading = get_field('shop_sidebar_cta_heading', $shop_hero_tid) ?: 'Need Help Choosing?'; $shop_hero_cta_text = get_field('shop_sidebar_cta_text', $shop_hero_tid) ?: ('Our experts will help you find the right ' . $shop_brand_term->name . ' solution.'); $shop_hero_stat3_number = get_field('years', $shop_hero_tid) ?: '15+'; $shop_hero_stat3_label = get_field('years_text', $shop_hero_tid) ?: 'Years Experience'; $shop_hero_cat_count = count(get_terms(array('taxonomy'=>'product_brand','parent'=>$shop_brand_term->term_id,'hide_empty'=>true))); } else { $shop_hero_badge = get_field('shop_default_badge', 'option') ?: 'Official Authorized Distributor'; $shop_hero_title_line1 = get_field('shop_default_title_line1', 'option') ?: 'Explore Our'; $shop_hero_title_highlight= get_field('shop_default_title_highlight', 'option') ?: 'Product Catalog'; $shop_hero_subtitle = get_field('shop_default_subtitle', 'option') ?: 'Browse our complete product portfolio across all categories — genuine products sourced directly from authorized distribution channels.'; $shop_hero_breadcrumb_label = 'Shop'; $shop_hero_breadcrumb_link = home_url('/shop/'); $shop_hero_cta_heading = get_field('shop_default_sidebar_cta_heading', 'option') ?: 'Need Help Choosing?'; $shop_hero_cta_text = get_field('shop_default_sidebar_cta_text', 'option') ?: 'Our experts will help you find the right solution for your business.'; $shop_hero_stat3_number = get_field('shop_default_stat3_number', 'option') ?: '500+'; $shop_hero_stat3_label = get_field('shop_default_stat3_label', 'option') ?: 'Enterprises Served'; $shop_hero_cat_count_terms = get_terms(array('taxonomy'=>'product_cat','parent'=>0,'hide_empty'=>true)); $shop_hero_cat_count = count(array_filter($shop_hero_cat_count_terms, function($t){ return $t->slug !== 'uncategorized'; })); } ?>
Home Portfolio Shop All Products


+ Products
Categories

Filters

Solutions
'product_cat', 'hide_empty' => true, ]); $categories = array_values(array_filter($categories, function($t){ return $t->slug !== 'uncategorized'; })); $selected_categories = []; // ✅ If URL has query param (shop filters) if (!empty($_GET['product_cat'])) { $selected_categories = explode(',', sanitize_text_field($_GET['product_cat'])); } // ✅ If it's category archive page elseif (is_product_category() && isset($current_category->slug)) { $selected_categories[] = $current_category->slug; } ?> slug, $selected_categories) ? 'checked' : ''; ?>
Brand
'pa_technology', 'hide_empty' => true, ]); $selected_technology = isset($_GET['product_technology']) ? array_values( array_filter( array_map( 'trim', explode(',', sanitize_text_field($_GET['product_technology'])) ) ) ) : []; if (!is_wp_error($technology_terms) && !empty($technology_terms)): ?>
Technology
slug, $selected_technology) ? 'checked' : ''; ?>
'pa_connectivity', 'hide_empty' => true, ]); $selected_connectivity = isset($_GET['product_connectivity']) ? array_values( array_filter( array_map( 'trim', explode(',', sanitize_text_field($_GET['product_connectivity'])) ) ) ) : []; if (!is_wp_error($connectivity_terms) && !empty($connectivity_terms)): ?>
Connectivity
slug, $selected_connectivity) ? 'checked' : ''; ?>
'product_brand', 'parent' => $zen_teltonika_term->term_id, 'hide_empty' => false, ] ); if ( ! is_wp_error( $zen_sub_terms ) ) { foreach ( $zen_sub_terms as $zen_sub ) { $zen_prod_ids = get_posts( [ 'post_type' => 'product', 'posts_per_page' => -1, 'fields' => 'ids', 'tax_query' => [ [ 'taxonomy' => 'product_brand', 'field' => 'term_id', 'terms' => $zen_sub->term_id, ], ], ] ); foreach ( $zen_prod_ids as $zen_pid ) { $zen_tech = wp_list_pluck( wp_get_post_terms( $zen_pid, 'pa_technology' ), 'slug' ); $zen_conn = wp_list_pluck( wp_get_post_terms( $zen_pid, 'pa_connectivity' ), 'slug' ); $zen_facet_data[] = [ 'brand' => $zen_sub->slug, 'technology' => array_values( $zen_tech ), 'connectivity' => array_values( $zen_conn ), ]; } } } } ?>
'product_cat', 'field' => 'slug', 'terms' => $categories, 'operator' => 'IN' ]; } // BRAND FILTER if (!empty($_GET['product_brand'])) { $brands = explode(',', sanitize_text_field($_GET['product_brand'])); $tax_query[] = [ 'taxonomy' => 'product_brand', // change if plugin uses different 'field' => 'slug', 'terms' => $brands, 'operator' => 'IN' ]; } // TECHNOLOGY FILTER if (!empty($_GET['product_technology'])) { $technology = explode(',', sanitize_text_field($_GET['product_technology'])); $tax_query[] = [ 'taxonomy' => 'pa_technology', 'field' => 'slug', 'terms' => $technology, 'operator' => 'IN' ]; } // CONNECTIVITY FILTER if (!empty($_GET['product_connectivity'])) { $connectivity = explode(',', sanitize_text_field($_GET['product_connectivity'])); $tax_query[] = [ 'taxonomy' => 'pa_connectivity', 'field' => 'slug', 'terms' => $connectivity, 'operator' => 'IN' ]; } $sort_by = !empty($_GET['sort_by']) ? sanitize_text_field($_GET['sort_by']) : ''; $shop_products = zen_shop_render_products($tax_query, $paged, $sort_by); ?>
Showing results
'product_cat','hide_empty'=>true)); $topbar_solutions = array_values(array_filter($topbar_solutions, function($t){ return $t->slug !== 'uncategorized'; })); $topbar_current_cats = !empty($_GET['product_cat']) ? explode(',', sanitize_text_field($_GET['product_cat'])) : array(); $topbar_current_cat_single = (count($topbar_current_cats) === 1) ? $topbar_current_cats[0] : ''; $topbar_current_brands = !empty($_GET['product_brand']) ? explode(',', sanitize_text_field($_GET['product_brand'])) : array(); $topbar_current_brand_single = (count($topbar_current_brands) === 1) ? $topbar_current_brands[0] : ''; ?>

Looking for the Right Storage Solution?

Our specialists can help you select the best Micron products for your infrastructure requirements. Get expert advice and competitive pricing.

Request a Quote