<% unless @product.has_variants? %>
<%= f.field_container :sku, class: ['form-group'] do %>
<%= f.label :sku, Spree.t(:sku) %>
<%= f.text_field :sku, size: 16, class: 'form-control' %>
<%= f.error_message_on :sku %>
<% end %>
<% end %>
<%= f.field_container :prototype, class: ['form-group'] do %>
<%= f.label :prototype_id, Spree.t(:prototype) %>
<%= f.collection_select :prototype_id, Spree::Prototype.all, :id, :name, {include_blank: true}, {class: 'select2'} %>
<% end %>
<%= f.field_container :price, class: ['form-group'] do %>
<%= f.label :price, Spree.t(:master_price) %> *
<%= f.text_field :price, value: number_to_currency(@product.price, unit: ''), class: 'form-control', required: :required %>
<%= f.error_message_on :price %>
<% end %>
<%= f.field_container :available_on, class: ['form-group'] do %>
<%= f.label :available_on, Spree.t(:available_on) %>
<%= f.error_message_on :available_on %>
<%= f.text_field :available_on, class: 'datepicker form-control' %>
<% end %>
<%= f.field_container :shipping_category, class: ['form-group'] do %>
<%= f.label :shipping_category_id, Spree.t(:shipping_categories) %>*
<%= f.collection_select(:shipping_category_id, @shipping_categories, :id, :name, { include_blank: Spree.t('match_choices.none') }, { class: 'select2', required: :required }) %>
<%= f.error_message_on :shipping_category_id %>
<% end %>