title: Auto apply a percentage or fixed cart discount based on the total in WooCommerce
body: <p>I'm trying to set up a coupon on my client's WooCommerce site so that a percentage discount applies if the total cart is below a cap amount or a fixed amount is equal or greater than the cap amount.</p>
  
  <p>Let's say that the cap for the cart total is 200. If the cart total is below this cap, 10% discount is applied. But if the cart total is 200 or greater, then the fixed amount of 20 is applied as the discount.</p>
  
  <p>For example:</p>
  
  <ul>
  <li>My cart total is 190. Since this is less than the cap of 200, the discount amount is computed as 10%, which is 19 is applied</li>
  <li>My cart total is 210. Since this is greater than the cap of 200, then the fixed amount of 20 is applied.</li>
  </ul>
  
  <p>How do I set my WooCommerce to apply a percentage discount or fixed cart depending on the total?</p>