Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi stardrive,

    The premium version of our plugin lets you show brands for each product on shop loop.

    Here you can find more information about our premium version, and here you can try a live demo of the plugin.

    We hope you enjoy Brands Add-on plugin and you may consider to become a premium customer

    Have a nice day 🙂

    Thread Starter stardrive

    (@stardrive)

    Dear Yithemes,

    Thank you for your response.
    I will further explore your brands add-on and I would like to consider becoming a premium customer

    Best Regards,

    Stardrive

    Add this to functions.php

    function brand_items() {
      global $wp_query;
      $thisis = $wp_query->get_queried_object();
      $thisItem = wp_get_post_terms($thisis->ID, 'yith_product_brand');
      echo '<h2>'. $thisItem[0]->name .'</h2>';
      $img = get_woocommerce_term_meta( $thisItem[0]->term_id, 'thumbnail_id', true );
      echo wp_get_attachment_image( $img, 'thumbnail' );
    }
    add_action('woocommerce_single_product_summary', 'brand_items', 2);
    Thread Starter stardrive

    (@stardrive)

    Thank you, tex0gen.

    I will try your code and revert back

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Brand not in shop page’ is closed to new replies.