title: How to get the brand name of product in WooCommerce
body: <p>i need get the brand name of product , i have this code </p>
  
  <pre><code>$product = wc_get_product();
  
    $type = $product-&gt;get_type();      
    $name = (string)$product-&gt;get_name();
    $id = (int)$product-&gt;get_id(); 
    $sku  = (int)$product-&gt;get_sku(); 
    $precio = (int)$product-&gt;get_price();
  
  $brand_name = $product-&gt;get_brand(); ---&gt; ???
  </code></pre>
  
  <p>i get this attributes but i don't know how catch the brand name, is there another way ? </p>
  
  <p><a href="https://i.stack.imgur.com/ZKDbI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZKDbI.png" alt="enter image description here"></a></p>
  
  <p>Thanks!</p>