Get more for your money each Wednesday with big savings on selected extensions. Shop this week's deals.
Product Icon

WooCommerce Brands

by Woo
Create, assign and list brands for products, and allow customers to view by brand.

Woocommerce Brand – brand name link in shop/category page

Hi,

Please let me know if the plugin ‘Woocommerce Brands’ can add a brand name link in the shop and category page just under product title.

Kind regards
Pier Serta

Screenshots

Author

Pier Serta

Current Status

Open

Last updated: February 13, 2023

1 comment

Log in to comment on this feature request.

  1. Sevun says:

    there is this code but it’s not a link. WC is reluctant to improve their code which I think is a must have.

    https://woocommerce.com/document/woocommerce-brands/

    <?php
    if ( is_plugin_active( 'woocommerce-brands/woocommerce-brands.php' ) ) {
    add_action( 'woocommerce_shop_loop_item_title', 'add_brands_to_product_loop' );
    // Add brands to product loop.
    function add_brands_to_product_loop() {
    $terms = get_the_terms( get_the_ID(), 'product_brand' );
    if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) {
    $term = join( ', ', wp_list_pluck( $terms, 'name' ) );
    echo esc_html( $term );
    }
    }
    }

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.