Hide dropdown when no layered nav terms are found. Closes #1997.
This commit is contained in:
parent
801fdc7420
commit
4fb98b0b91
|
@ -93,7 +93,7 @@ class WooCommerce_Widget_Layered_Nav extends WP_Widget {
|
|||
|
||||
$taxonomy_filter = str_replace( 'pa_', '', $taxonomy );
|
||||
|
||||
$found = true;
|
||||
$found = false;
|
||||
|
||||
echo '<select id="dropdown_layered_nav_' . $taxonomy_filter . '">';
|
||||
|
||||
|
|
Loading…
Reference in New Issue