<% content_for :sidebar do %> <%= hook :taxon_sidebar_navigation do %> <%= render :partial => "shared/taxonomies" %> <% end %> <% end %> <% @body_id = 'product-details' %>

<%= @product.name %>

<%= hook :product_images do %>
<%= render 'image' %>
<% if @product.images.any? %> <% end %> <% end %>
<%= hook :cart_form do %>
<%= render 'cart_form' %>
<% end %>
<% if defined?(SpreeReviews) %> <% end %> <% if defined?(SpreeCompareProducts) %> <% end %> <% if defined?(SpreeReviews) %> <% end %>
<%= render 'shared/rating', :product => @product %> Отзывы (<%= @product.reviews.approved.count %>)
<%= render 'compare' if @comparable_products %>Добавить отзыв
<%= render :partial => 'shared/like_buttons' %>
<%= render 'thumbnails', :product => @product %>
<%= hook :product_description do %>

Описание:

<% if @product.description %> <%= product_description(@product) %> <% else %> <%= t("product_has_no_description") %> <% end %>
<% end %>
<%= hook :product_properties do %> <%= render 'properties' %> <% end %>
<% if defined?(RecentlyViewedConfiguration) && get_recently_viewed_products.count > 1 %>

Вы недавно смотрели:

<% end %> <% unless defined?(SpreeEnhancedOptionTypes) %> <%= javascript_include_tag 'product_simple' %> <% else %> <% end %> <%= render 'taxons' %> <%= render 'shared/reviews' if defined?(SpreeReviews) %>