Sha256: 7c87f65e34115ba8bc723a43564ce48e34f8354ae9ff0ec5fe2d04c2d7fbbf14

Contents?: true

Size: 1.51 KB

Versions: 12

Compression:

Stored size: 1.51 KB

Contents

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

<% cache cache_key_for_product do %>
  <div data-hook="product_show" class="row">
    <div class="col-lg-4 col-md-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="card  " data-hook>
            <div class="card-body text-center">
              <%= product_image(@product) %>
            </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-lg-8 col-md-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 mt-2"><%= @product.name %></h1>

          <div data-hook="description">
            <%= sanitize product_description(@product) %>
          </div>

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

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

<%= products_structured_data([@product]) %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_frontend-4.0.9 app/views/spree/products/show.html.erb
spree_frontend-4.0.8 app/views/spree/products/show.html.erb
spree_frontend-4.0.7.1 app/views/spree/products/show.html.erb
spree_frontend-4.0.7 app/views/spree/products/show.html.erb
spree_frontend-4.0.6 app/views/spree/products/show.html.erb
spree_frontend-4.0.5 app/views/spree/products/show.html.erb
spree_frontend-4.0.4 app/views/spree/products/show.html.erb
spree_frontend-4.0.3 app/views/spree/products/show.html.erb
spree_frontend-4.0.2 app/views/spree/products/show.html.erb
spree_frontend-4.0.1 app/views/spree/products/show.html.erb
spree_frontend-4.0.0 app/views/spree/products/show.html.erb
spree_frontend-4.0.0.rc3 app/views/spree/products/show.html.erb