<%= @post.the_title %>
<%= t('plugins.ecommerce.single.sku', default: 'SKU') %>: <%= @post.the_sku %> <%= raw @post.the_featured_status %>
<%= @post.the_price %> <%= raw @post.the_stock_status %>
<%= @post.the_excerpt %>
<% if @post.in_stock? %> <% if @post.the_qty_real.to_i > 0 %> <%= form_tag(plugins_ecommerce_checkout_cart_add_path, :method => "post", :class => "form") do %> <% if @post.is_variation_product? %>
<%= label_tag :variation_id %>
<% end %>
<%= t('plugins.ecommerce.single.qty', default: 'Qty') %>
<%= number_field :cart, :qty, class: 'form-control', value: 1, min: 0, max: @post.the_qty_real.to_i %>
<%= hidden_field :cart, :product_id, value: @post.id %>
<% end %>
<% end %>
<% else %>
<%= t('plugins.ecommerce.single.noavailable_items', default: 'No items available') %>
<% end %><%= t('plugins.ecommerce.single.descr', default: 'Description') %>
<%= raw @post.the_content %>
<%= t('plugins.ecommerce.single.attrs', default: 'Attributes') %>
<%= attr['attr'].to_s.translate %> | <%= attr['value'].to_s.translate %> |