Viewing 2 replies - 1 through 2 (of 2 total)
  • I am trying to do the exact same thing, more difficult than it should be.

    Here’s what I did.. put the following in your description.php

    Make sure $Product is global.

    <div class=”attributeproduct”>
    <?php $customepattributes = get_the_terms( $product->id, ‘xxyourattributexx’);
    foreach ( $customepattributes as $customepattributes ) {
    echo “<b>”.$customepattributes->name.”</b>”;
    echo “
    “;
    echo $customepattributes->description;
    echo “
    “;
    }
    ?>
    </div>

    I need to know how to put the attribute in a variable so it will display any attribute value.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WooCommerce] Moving display of attributes info’ is closed to new replies.