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

18 lines
451 B
PHP
Raw Normal View History

2011-12-09 22:44:03 +00:00
<?php
/**
* Attributes Tab
*/
global $woocommerce, $post, $product;
2011-12-09 22:44:03 +00:00
2012-04-03 09:34:02 +00:00
if ($product->has_attributes() || $product->has_dimensions() || $product->has_weight()) : ?>
<div class="panel" id="tab-attributes">
2011-12-09 22:44:03 +00:00
2012-04-03 09:34:02 +00:00
<?php $heading = apply_filters('woocommerce_product_additional_information_heading', __('Additional Information', 'woocommerce')); ?>
<h2><?php echo $heading; ?></h2>
<?php $product->list_attributes(); ?>
2011-12-09 22:44:03 +00:00
2012-04-03 09:34:02 +00:00
</div>
<?php endif; ?>