anchor.diff:        <p><%= @product.rating %></p>
       </div>
       <div class="span5">
  -      <h2><%= @variant.price %> €</h2>
  +      <h2 id="price"><%= @variant.price %> €</h2>
       </div>
     </header>
   
  
positive.code:           </dl>
            <select>
              <% @product.variants_without_master.each_with_index do |v, index| %>
                 <option id=<%= v.id %> value=<%= v.id %> ><%= v.variant_properties_values %></option>
               <% end %>
            </select>
          <% end %>
  
negative.code:   $('#product-show select').prop('selectedIndex', indexId);*/
  
    $('#product-show select').change(function(){
      var price = $(this).val();
  
      $('#product-show #price').text(price + " €");
  
      var id = $(this).attr('id');
      //window.location.href = "/products/<%= @product.id %>/variants/" + id; 
      $("#add_cart_f").attr("action","/cart/add/" + id);
      $("#add_wishlist_f").attr("action","/wishlist/add/" + id);
  