Difference between revisions of "Getting started with Spree/Products/Show"
From the Directed Edge Developer Base
(Created page with "<source lang="html4strict"> <% @body_id = 'product-details' %> <h1><%= @product.name %></h1> <div id="product-images"> <div id="main-image"> <%= render 'image' -%> </div...") |
(No difference)
|
Latest revision as of 08:43, 28 November 2010
<% @body_id = 'product-details' %>
<h1><%= @product.name %></h1>
<div id="product-images">
<div id="main-image">
<%= render 'image' -%>
</div>
<div id="thumbnails">
<%= render 'thumbnails', :product => @product -%>
</div>
<% hook :cart_form do %>
<div id="cart-form">
<%= render 'cart_form' %>
</div>
<% end %>
</div>
<div id="product-description">
<% hook :product_description do %>
<%= product_description(@product) rescue t("product_has_no_description") %>
<% end %>
<% hook :product_properties do %>
<%= render 'properties' %>
<% end %>
</div>
<%= edgy_related_table :vertical, :max_results => 4 %>
<%= render 'taxons' %>