%= render :partial => 'spree/admin/shared/product_sub_menu' %> <%= render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => 'Variants'} %> <%# Place for new variant form %>
<% if @variants.any? %><%= t(:options) %> | <%= t(:price) %> | <%= t(:sku) %> | <%= t(:on_hand) %> | ||
---|---|---|---|---|---|
<%= variant.options_text %> | <%= variant.display_price %> | <%= variant.sku %> | <%= variant.on_hand %> | <%= link_to_edit(variant, :no_text => true) unless variant.deleted? %> <%= link_to_delete(variant, :no_text => true) unless variant.deleted? %> | |
<%= t(:none) %> |
<%= t(:to_add_variants_you_must_first_define) %> <%= link_to t(:option_types), admin_product_url(@product) %> <%= t(:and) %> <%= link_to t(:option_values), admin_option_types_url %>
<% else %> <% content_for :page_actions do %> <% end %> <% end %>