Sha256: acb0b207c18bf5d0f4be7bdb7fd3875dbf0cfcbe9746085bc9b0b0e5312782e2

Contents?: true

Size: 1.82 KB

Versions: 17

Compression:

Stored size: 1.82 KB

Contents

<div class="checkout-confirm-order-details-line-items-line-item w-100 d-table-row">
  <div class="checkout-confirm-order-details-line-items-line-item-name d-table-cell align-middle py-3 py-sm-4">
    <div class="d-flex align-items-lg-center">
      <%= link_to product_image(line_item.variant), spree.product_path(line_item.product) %>
      <div class="d-flex flex-column mt-2 mt-lg-0">
        <div><%= link_to line_item.name, spree.product_path(line_item.product) %></div>
        <ul class="checkout-confirm-order-details-line-items-line-item-name-options text-uppercase list-unstyled mb-0">
          <% line_item.variant.option_values.sort { |ov| ov.option_type.position }.each do |ov| %>
          <li>
            <% # TODO: rework option values so options_text method can be used here %>
            <%= "#{ov.option_type.presentation}: #{ov.name.titleize}" %>
          </li>
        <% end %>
        </ul>
        <div class="d-lg-none">
          <div class="font-weight-bold"><%= line_item.single_money.to_html %></div>
        </div>
        <div class="d-lg-none">
          <span><%= Spree.t(:quantity) %>:</span>
          <span class="font-weight-bold"><%= line_item.quantity %></span>
        </div>
      </div>
    </div>
  </div>
  <div class="checkout-confirm-order-details-line-items-line-item-price d-none d-lg-table-cell align-middle py-4">
    <div><%= line_item.single_money.to_html %></div>
  </div>
  <div class="checkout-confirm-order-details-line-items-line-item-quantity d-none d-lg-table-cell align-middle py-4">
    <span class="checkout-confirm-order-details-line-items-line-item-quantity-val d-lg-block"><%= line_item.quantity %></span>
  </div>
  <div class="checkout-confirm-order-details-line-items-line-item-total d-none d-lg-table-cell align-middle py-4">
    <div><%= line_item.display_total.to_s %></div>
  </div>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_frontend-4.2.7 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.3 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.6 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.2 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.4.0 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.1 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.0 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.0.rc3 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.0.rc2 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.3.0.rc1 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.5 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.4 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.3.1 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.3 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.2 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.1 app/views/spree/shared/_line_item.html.erb
spree_frontend-4.2.0 app/views/spree/shared/_line_item.html.erb