title: woocommerce hide fields for non-logged-in users
body: <p>I want to make a function where non-logged-in users won't see the product price, add to cart and description text. At the moment I am using the plugin hide price until login so the price wont show. I am also using this css code:</p>
  
  <pre><code>body.logged-in form.cart, body.logged-in div.woocommerce-product-details__short-description, body.logged-in div.product_meta { display:none; }
  </code></pre>
  
  <p>This was the only code I could find on the internet and for me it is working the other way round. If someone can help that would be really appreciated.</p>