title: How to load specific CSS if free shipping is available?
body: <p>Is there a way to conditionally apply to the subtotal the CSS classes below based on free shipping?</p>
  <pre><code>.free-shipping-text {
  content: &quot;Hurray Free Shipping&quot;;
  }
  
  .nonfree-shipping-text {
  content: &quot;Get Free Shipping over ₹ 1000&quot;
  }
  </code></pre>
  <p>if subtotal price is less than ₹ 1000 then nonfree-shipping-text CSS should call and when greater than ₹ 1000 then free-shipping-text CSS should call.</p>
  <pre><code>global $woocommerce;
  $shipping_methods = $woocommerce-&gt;shipping-&gt;load_shipping_methods();
  if($shipping_methods['free_shipping']-&gt;enabled == &quot;yes&quot;)
  {
  .free-shipping-text CSS should call
  }        
  else
  .nonfree-shipping-text CSS should call
  </code></pre>