title: Woocommerce - Dynamically display attribute value as anchor text with another attribute value as the href link (with shortcodes)
body: <p>I am creating a product page template and I want to display a text link that has the top-level URL (externalwebsite.com) as the anchor text and then the specific product page (externalwebsite.com/product) as the href attribute.</p>
  <p>I imagine the html of the output to look something like this:</p>
  <pre><code>&lt;a href=&quot;$product_url_attribute&quot;&gt;$brand_url_attribute&lt;/a&gt;
  </code></pre>
  <p>I am using the solution by <a href="https://stackoverflow.com/users/383847/helgatheviking">@helgatheviking</a> on <a href="https://stackoverflow.com/questions/39394127/woocommerce-display-single-product-attributes-with-shortcodes-in-frontend">this question</a> to pull and display individual attributes using shortcodes and it works really well for my needs.</p>
  <p>I've tried messing around with this code to achieve what I need, but the PHP is a little too over my head.</p>
  <p>Let me know if I haven't been clear.</p>
  <p>I appreciate all the help on this.</p>