<commit_before><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><commit_msg>Fixed rendering PDP with a single image<commit_after><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"
  >
    <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>
    <div class="product-details-single" data-hook="product_images">
      <%= render 'spree/shared/carousel/single',
                images: @product_images,
                group_id: 'main-product-carousel',
                id: 'productCarousel',
                trigger_id: 'productCarousel',
                zoomed: false
      %>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.13391224862888482, 'fraction_numerical': 0.008226691042047532, 'mean_word_length': 2.0961810466760964, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4037685', 'n_tokens_mistral': 707, 'n_tokens_neox': 660, 'n_words': 111}