%= f.field_container :price do %>
<%= f.label :price, t(:master_price) %> *
(<%= t('country') + ": " -%>
<% country = session[:zoned] && session[:zoned][:prd_country] %>
<% country = country ? country.to_i : 0 %>
<% c = Rails.application.config.commonCountriesForSelect.select {|e| e[1]==country} %>
<%= c.length == 1 ? c[0][0] : t(:nocountrysel) -%>
)
<%= f.text_field :price, :value => number_with_precision(
getCPrice(@product), precision: 2)%>
<%= f.error_message_on :price %>
<% end %>
<%= f.field_container :cost_price do %>
<%= f.label :cost_price, t(:cost_price) %>
<%= f.text_field :cost_price, :value => number_with_precision(
@product.cost_price, precision: 2) %>
<%= f.error_message_on :cost_price %>
<% end %>
<%= f.field_container :available_on do %>
<%= f.label :available_on, t(:available_on) %>
<%= f.error_message_on :available_on %>
<%= f.text_field :available_on, :class => 'datepicker' %>
<% end %>
<% unless @product.has_variants? %>
<%= f.field_container :sku do %>
<%= f.label :sku, t(:sku) %>
<%= f.text_field :sku, :size => 16 %>
<% end %>
<% if Spree::Config[:track_inventory_levels] %>
<%= f.field_container :on_hand do %>
<%= f.label :on_hand, t(:on_hand) %>
<%= f.number_field :on_hand, :min => 0 %>
<% end %>
<% end %>