title: Add Extra button under Add to cart on shop page of Woocommerce 3
body: <p>I'm a nube coder and am trying to add an extra button under the add to cart button on the products feed on my main page. I use a shortcode to display just one category of products on the frontpage of my Woocommerce website (which works as a landing page in this case and is a Wordpress microsite).</p>
  
  <p>Problem is I can't get it to display under the button. I have a plugin that can add an extra button which links to a preview document but only on single product pages. So, I'm using that DIV class in my code and trying to insert it under products feed. What I'm trying to achieve is PDF previews of print books. You can find my code below and I'm sure it's many shades of wrong.</p>
  
  <p>I also don't know how to code the  so that it uses the links that I insert in the backend for each product preview document. Right now I have a generic link setup for testing purposes.</p>
  
  <pre><code>add_action( 'woocommerce_after_shop_loop_item', 'content_after_addtocart_button'); function content_after_addtocart_button() { 
  echo '&lt;div class="product_meta wcdp-preview-btn-div"&gt;&lt;a class="wcdp-preview-btn thickbox" href="https://www.google.com/"&gt;Citește fragment&lt;/a&gt;&lt;/div&gt;'; }
  </code></pre>