title: Subtotal cart variable php WooCommerce
body: <p>Does anyone know what <code>$variable</code> to use in <code>php</code> to get the subtotal of the cart?<br>
  Subtotal = total value of cart BEFORE discount or taxes.</p>
  
  <p>It would help me a lot.
  I want to add an extra fee if the subtotal is above 250 euro.</p>
  
  <p>Thanks in advance.</p>