<%= form_for :order, :url => populate_orders_path do |f| %>
<% if @product.variants_and_option_values(current_currency).any? %>
<%= Spree.t(:variants) %>
<% end%> <% if @product.price_in(current_currency) and !@product.price.nil? %>
<%= Spree.t(:price) %>
<%= display_price(@product.master) %>
<%= number_field_tag (@product.variants_and_option_values.any? ? :quantity : "variants[#{@product.master.id}]"), 1, :class => 'title', :min => 1 %> <%= button_tag :class => 'large primary', :id => 'add-to-cart-button', :type => :submit do %> <%= Spree.t(:add_to_cart) %> <% end %>
<% else %>

<%= Spree.t('product_not_available_in_this_currency') %>
<% end %>
<% end %>