Sha256: 080c8f5ddd61a087f658a18b485c714dc59241e6f47d9712a76ab3c81c8d00ba

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

<div class="col-12 col-md-7 col-lg-7" data-hook="product_left_part">
  <div
    class="w-100 d-flex align-self-start justify-content-between product-details-images"
    data-hook="product_left_part_wrap"
  >
    <% if @product_images.size > 1 %>
      <div class="d-none d-md-block product-details-thumbnails" data-hook="product_thumbnails">
        <%= render 'spree/shared/carousel/thumbnails',
                  images: @product_images,
                  group_id: 'main-product-carousel',
                  id: 'productThumbnailsCarousel',
                  trigger_id: 'productCarousel',
                  per_page: 5
        %>
      </div>
    <% end %>
    <div class="product-details-single" data-hook="product_images">
      <% if @product_images.size == 1 %>
        <%= plp_and_carousel_image(@product) %>
      <% else %>
        <%= render 'spree/shared/carousel/single',
                  images: @product_images,
                  group_id: 'main-product-carousel',
                  id: 'productCarousel',
                  trigger_id: 'productCarousel',
                  zoomed: false
        %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_frontend-4.1.0.rc3 app/views/spree/products/_gallery.html.erb
spree_frontend-4.1.0.rc2 app/views/spree/products/_gallery.html.erb
spree_frontend-4.1.0.rc1 app/views/spree/products/_gallery.html.erb