title: tm extra product option select change woocommerce qty
body: <p>I'm trying to create a jquery that changes the woocommerce qty.
  This is the resulting html.</p>
  
  <pre><code>  &lt;div class="tc-cell tc-col"&gt;  &lt;div class="tc-row"&gt;&lt;div data-uniqid="5ecbf5c6c44cd8.41160631"
           data-logic=""
           data-haslogic=""
           data-fblabelshow=""
           data-fbvalueshow=""
           class="tc-container cpf_hide_element tc-cell tcwidth-100 cpf-type-radio centrado-div"
            id="impresion"&gt;&lt;div class="tc-element-inner-wrap"&gt;&lt;div class="tc-row"&gt;
      &lt;label class="tc-cell tm-epo-element-label tcwidth-100"&gt;¿QUIERES IMPRIMIR TU BOLSA?&lt;/label&gt;    &lt;div class="tc-cell tc-col tm-extra-product-options-container"&gt;
      &lt;ul data-rules="{&amp;quot;Sin Impresi\u00f3n_0&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Impresi\u00f3n a una cara_1&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras mismo dise\u00f1o_2&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras distinto dise\u00f1o_3&amp;quot;:[&amp;quot;&amp;quot;]}"
          data-original-rules="{&amp;quot;Sin Impresi\u00f3n_0&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Impresi\u00f3n a una cara_1&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras mismo dise\u00f1o_2&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras distinto dise\u00f1o_3&amp;quot;:[&amp;quot;&amp;quot;]}"
          data-rulestype="{&amp;quot;Sin Impresi\u00f3n_0&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Impresi\u00f3n a una cara_1&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras mismo dise\u00f1o_2&amp;quot;:[&amp;quot;&amp;quot;],&amp;quot;Dos caras distinto dise\u00f1o_3&amp;quot;:[&amp;quot;&amp;quot;]}"
          data-tm-validation="[]"     class="tmcp-ul-wrap tmcp-elements tm-extra-product-options-radio tm-element-ul-radio element_0 use_images_container centrado-ul"&gt;
          &lt;li class="tmcp-field-wrap tmhexcolorimage-li-nowh tm-per-row tc-mode-images"&gt;
              &lt;label class="tm-epo-field-label" for="tmcp_choice_0_0_15ee8f96bb31c4"&gt;
                      &lt;input class="tmcp-field centrado centrado tmhexcolor_0-0-15ee8f96bb31c4 tm-epo-field tmcp-radio use_images"
                     name="tmcp_radio_0"
                     data-price=""
                     data-rules="[&amp;quot;&amp;quot;]"
                     data-original-rules="[&amp;quot;&amp;quot;]"
                     data-rulestype="[&amp;quot;&amp;quot;]"
                     data-image=""
                     data-imagec=""
                     data-imagep=""
                     data-imagel=""
                     data-image-variations="[]"
                                             value="Sin Impresión_0"
                     id="tmcp_choice_0_0_15ee8f96bb31c4"
                     type="radio"  checked='checked' 
              /&gt;
              &lt;span class="tc-label-wrap tmhexcolor_0-0-15ee8f96bb31c4"&gt;&lt;img class="tmlazy round radio_image" alt="Sin Impresión" src=""  /&gt;&lt;span class="tc-label radio-image-label"&gt;Sin Impresión&lt;/span&gt;&lt;/span&gt;    &lt;/label&gt;
          &lt;span class="tc-price-wrap"&gt;
          &lt;span class="price tc-price hidden"&gt;
          &lt;span class="amount"&gt; &amp;euro;&lt;/span&gt;
      &lt;/span&gt;
  </code></pre>
  
  <p>I have created this function inside my child theme in wordpress but I do not see it making any changes to me.
  Somebody can help me.</p>
  
  <p>Thank you</p>
  
  <pre><code>function prueba($pid){
  ?&gt;&lt;script type="text/javascript"&gt;
       (function($) {
      "use strict";
           jQuery(document).ready(function($) {
      $('#tmcp_choice_0_0_15ee8f96bb31c4').change(function(evt) {
          if( $(this).val() != "Sin Impresión_0" ){
              $args['input_value']    = 10000;
          }
      });
  });&lt;/script&gt;
  &lt;?php
  }
  add_action( 'wp_head', 'prueba' );
  </code></pre>