Sha256: 51476043b18ac06b174a41fda61618263573e971ad37514cb56faae6b3294f1e

Contents?: true

Size: 1.56 KB

Versions: 10

Compression:

Stored size: 1.56 KB

Contents

<% @body_id = 'product-details' %>

<% cache [I18n.locale, current_currency, @product, @product.possible_promotions] do %>
  <div data-hook="product_show" itemscope itemtype="https://schema.org/Product">
    <div class="col-md-4" data-hook="product_left_part">
      <div data-hook="product_left_part_wrap">
        <div id="product-images" data-hook="product_images">
          <div id="main-image" class="panel panel-default" data-hook>
            <div class="panel-body text-center">
              <%= render :partial => 'image' %>
            </div>
          </div>
          <div id="thumbnails" data-hook>
            <%= render :partial => 'thumbnails' %>
          </div>
        </div>

        <div data-hook="product_properties">
          <%= render :partial => 'properties' %>
        </div>

        <div data-hook="promotions">
          <%= render :partial => 'promotions' %>
        </div>
      </div>
    </div>

    <div class="col-md-8" data-hook="product_right_part">
      <div data-hook="product_right_part_wrap">
        <div id="product-description" data-hook="product_description">
          <h1 class="product-title" itemprop="name"><%= @product.name %></h1>

          <div class="well" itemprop="description" data-hook="description">
            <%= product_description(@product) rescue Spree.t(:product_has_no_description) %>
          </div>

          <div id="cart-form" data-hook="cart_form">
            <%= render :partial => 'cart_form' %>
          </div>
        </div>

        <%= render :partial => 'taxons' %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_frontend-3.0.10 app/views/spree/products/show.html.erb
spree_frontend-3.0.9 app/views/spree/products/show.html.erb
spree_frontend-3.0.8 app/views/spree/products/show.html.erb
spree_frontend-3.0.7 app/views/spree/products/show.html.erb
spree_frontend-3.0.6.1 app/views/spree/products/show.html.erb
spree_frontend-3.0.6 app/views/spree/products/show.html.erb
spree_frontend-3.0.5 app/views/spree/products/show.html.erb
spree_frontend-3.0.4 app/views/spree/products/show.html.erb
spree_frontend-3.0.3 app/views/spree/products/show.html.erb
spree_frontend-3.0.2 app/views/spree/products/show.html.erb