Sha256: 21cd4ce452135ba8735cd5151d7a3fc54cef3b7dd1317fd6125c4b4b65f4d25e

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

<% if variant.option_values.any? || variant.is_master?%>
  <td class="cart-item-description" data-hook="cart_item_description">
    <h4><%= link_to line_item.name, product_path(variant.product) %></h4>
    <%= variant.options_text %>
    <% if line_item.insufficient_stock? %>
      <span class="out-of-stock">
        <%= t('spree.out_of_stock') %>&nbsp;&nbsp;<br />
      </span>
    <% end %>
    <span class="line-item-description" data-hook="line_item_description">
      <%= line_item_description_text(line_item.description) %>
    </span>
  </td>
<% else %>
  <% auction = variant.auction %>
  <td class="cart-item-description" data-hook="cart_item_description">
    <h4><%= link_to auction.title, auction %></h4>
    <span class="line-item-description" data-hook="line_item_description">
      <%= auction.description %>
    </span>
  </td>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_auction-0.0.1 app/views/spree/shared/_line_item_link_to.erb