title: Minimum cart amount except for specific products in WooCommerce
body: <p>I only permit oders with a minimum value of 15€ on my site, but want to make an exception for one product. I would really appreciated if someone knows how to help me on this. The coding for the minimum order value is below. Anyone know how I can adapt this to exclude one product via a product ID?</p>
  
  <pre><code>add_action( 'woocommerce_check_cart_items', 'wc_set_min_total' );
  function wc_set_min_total() {
  
      if( is_cart() || is_checkout() ) {
          global $woocommerce;
  
          // Setting the minimum cart total
          $minimum_cart_total = 15;
  
          $total = WC()-&gt;cart-&gt;subtotal;
  
  
          if( $total &lt;= $minimum_cart_total  ) {
  
              wc_add_notice( sprintf( '&lt;strong&gt;A Minimum of %s %s is required before checking out.&lt;/strong&gt;'
                  .'&lt;br /&gt;Current cart\'s total: %s %s',
                  $minimum_cart_total,
                  get_option( 'woocommerce_currency'),
                  $total,
                  get_option( 'woocommerce_currency') ),
              'error' );
          }
      }
  }
  </code></pre>