Show attributes in shop page - by Immograf

This topic has 4 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp

  • Avatar: Immograf
    Immograf
    Participant
    October 29, 2015 at 11:00

    Hello,

    I’m working in a ecommerce and I want to show de attributes in shop page but I don’t know how to do it.

    I managed to show SKU, but not the attributes.
    The code:

    add_action( 'woocommerce_before_shop_loop_item_title', 'shop_sku' );
    function shop_sku(){
        global $product;
        echo '<div class="sku">Code: ' . $product->sku . '</div>';
    }

    I appreciate any help

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 29, 2015 at 11:23

    Hello,

    Please refer to this topic:
    http://stackoverflow.com/questions/25826092/display-product-variations-on-category-page

    Best regards,
    Jack Richardson.

    Avatar: Immograf
    Immograf
    Participant
    October 29, 2015 at 12:16

    Hello,

    this topic is not exactly what I need, I want to show the attributes of the products in the shop list, in this link will see an example of what I need to do.

    http://www.immograf.com/clients/labclinics/show-attribute.jpg

    Regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    October 29, 2015 at 12:28

    Hello,

    Sorry, but our theme doesn’t have such option. It’s related to Woocommerce plugin. You may ask their support for some solution or search for some plugin.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.