anchor.diff:  
     $("#add_cart_bt").click(function(){
       if(parseInt($("#add_cart_f #amount").val())>0){
  +      alert("Adicionado ao carrinho");
         $("#add_cart_f").submit();
  -      alert("Adicionado ao carrinho");
       } 
       else alert("Quantidade inferior a 0.");
     });
   
     $("#add_wishlist_bt").click(function(){
  +    alert("Adicionado ao carrinho");
       $("#add_wishlist_f").submit();
  -    alert("Adicionado ao carrinho");
     });
   
   });
  
positive.code:   $('#product-show select').prop('selectedIndex', indexId);*/
  
    $('#product-show select').change(function(){
      var id = $(this).val();
      //window.location.href = "/products/<%= @product.id %>/variants/" + id; 
      $("#add_cart_f").attr("action","/cart/add/" + id);
      $("#add_wishlist_f").attr("action","/wishlist/add/" + id);
  
negative.code:           </dl>
            <select>
              <% @product.variants_without_master.each_with_index do |v, index| %>
                 <option id=<%= v.id %> value=<%= v.price %> ><%= v.variant_properties_values %></option>
               <% end %>
            </select>
          <% end %>
  