Sha256: e633fed92afe65ebd8d2d464f602a84a94f2c4ffe97b1bc2da30bee0a79b86c2

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

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

<%= render partial: 'spree/shared/trackers/segment/product_viewed.js',
            formats: :js,
            locals: { product: @product } %>

<% cache cache_key_for_product do %>
  <div data-hook="product_show" class="row" itemscope itemtype="https://schema.org/Product">
    <div class="col-md-4 col-sm-5" 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">
              <%= product_image(@product, itemprop: "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 col-sm-7" 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) %>
          </div>

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

        <div id="taxon-crumbs" class=" five " data-hook="product_taxons">
          <%= render partial: 'taxons' %>
        </div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_frontend-3.4.6 app/views/spree/products/show.html.erb
spree_frontend-3.4.5 app/views/spree/products/show.html.erb
spree_frontend-3.4.4 app/views/spree/products/show.html.erb
spree_frontend-3.4.3 app/views/spree/products/show.html.erb
spree_frontend-3.4.2 app/views/spree/products/show.html.erb
spree_frontend-3.4.1 app/views/spree/products/show.html.erb
spree_frontend-3.4.0 app/views/spree/products/show.html.erb
spree_frontend-3.4.0.rc2 app/views/spree/products/show.html.erb
spree_frontend-3.4.0.rc1 app/views/spree/products/show.html.erb