Less fugly conditonal.
This commit is contained in:
parent
c211603fc9
commit
6a96cc5d4c
|
@ -44,7 +44,7 @@ if ( empty( $attributes ) && ( ! $product->enable_dimensions_display() || ( ! $p
|
|||
|
||||
<?php foreach ( $attributes as $attribute ) :
|
||||
|
||||
if ( ! isset( $attribute['is_visible'] ) || ! $attribute['is_visible'] || $attribute['is_taxonomy'] && ! taxonomy_exists( $attribute['name'] ) )
|
||||
if ( empty( $attribute['is_visible'] ) || ( $attribute['is_taxonomy'] && ! taxonomy_exists( $attribute['name'] ) ) )
|
||||
continue;
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue