title: WooCommerce - Adding shipping fee for free user plan
body: <p>I am using WooCommerce and with <a href="https://wordpress.org/plugins/pmpro-aweber/" rel="nofollow">Paid Memberships Pro free plugin</a>.</p>
  
  <p>On the web site we have 2 plans (a free plan and a paid plan):</p>
  
  <ul>
  <li>Free users can buy 1 item each month, </li>
  <li>Paid users can buy 4 items each months.</li>
  </ul>
  
  <p>Now I don't know how to simply calculate shipping on checkout page with code like:</p>
  
  <pre><code>if (pmpro_hasMembershipLevel('2')) { // Paid plan
  
      //free shipping (0$)
  
  } else {
  
      //add shipping 4$ to checkout
  
  }
  </code></pre>
  
  <p>No shipping class, No region zone is affect shipping price.</p>
  
  <p>I have tried to set Shipping options, but I can’t get rid of it.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Thanks.</p>