woocommerce/templates/single-product/tabs/tab-attributes.php

10 lines
391 B
PHP
Raw Normal View History

2012-04-03 09:34:02 +00:00
<?php global $product;
2011-12-12 11:35:54 +00:00
$show_attr = ( get_option( 'woocommerce_enable_dimension_product_attributes' ) == 'yes' ? true : false );
if ( $product->has_attributes() || ( $show_attr && $product->has_dimensions() ) || ( $show_attr && $product->has_weight() ) ) {
?>
2012-05-01 20:26:58 +00:00
<li class="attributes_tab"><a href="#tab-attributes"><?php _e('Additional Information', 'woocommerce'); ?></a></li>
<?php
}
?>