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

5 lines
235 B
PHP

<?php global $product; ?>
<?php if ($product->has_attributes() || $product->has_dimensions() || $product->has_weight()) : ?>
<li><a href="#tab-attributes"><?php _e('Additional Information', 'woocommerce'); ?></a></li>
<?php endif; ?>