<% if object.reflections.keys.include?(:variants) -%> <%= javascript_include_tag "piggybak_variants/piggybak_variants" %>
<% options_for_klass(object.class).each do |option| -%>

<%= option.name %>

<% option.option_values.ordered.each do |option_value| -%> <%= option_value.name %>
<% end -%>
<% end -%> You must select an choice from each option. This combination is not available. <%= form_tag piggybak.cart_add_url do -%>
Price:
<%= text_field_tag :quantity, 1 %> <%= submit_tag "Add to Cart", :id => "submit" %> <% end -%>
<% end -%>