title: Remove a given product attribute for variations from existing woocommerce products
body: <p>I can't seem to find anyone dealing with this exact situation, nor can I quite work it out myself.</p>
  
  <p>In my situation, I have several hundred products that have an attribute, let's call it foo. In the <code>wp_term_taxonomy</code> table its <code>taxonomy</code> is <code>pa_foo</code>. It might have three possible values: <code>big</code>,<code>bigger</code>,<code>biggest</code>. There is also one other attribute, <code>bar</code>, with different values. I want to keep those.</p>
  
  <p>Now, I know I can remove the taxonomy stuff like so:</p>
  
  <pre class="lang-sql prettyprint-override"><code>    DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE count &lt; 5 AND taxonomy = 'pa_foo');
      DELETE FROM wp_term_taxonomy WHERE count &lt; 5 AND taxonomy = 'pa_foo';
      DELETE FROM wp_term_relationships WHERE term_taxonomy_id NOT IN (SELECT term_taxonomy_id FROM wp_term_taxonomy);
  </code></pre>
  
  <p>but on the product display page, I am still seeing the dropdown listing <code>big</code>, <code>bigger</code>, and <code>biggest</code>. How do I get rid of that pesky thing? I want woocommerce to either get rid of or completely ignore that <code>foo</code> attribute.</p>