WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[Plugin: WooCommerce] Moving display of attributes info (3 posts)

  1. wfdesigns
    Member
    Posted 1 year ago #

    Hi there

    The attributes are currently displaying in the Additional Information tab. Can someone point me in the direction of moving this to below the product title instead please?

    Many thanks!
    Emily

    http://wordpress.org/extend/plugins/woocommerce/

  2. iamjustoneman
    Member
    Posted 1 year ago #

    I am trying to do the exact same thing, more difficult than it should be.

  3. valoros
    Member
    Posted 11 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.