Sha256: 76a60f9dfefa4f6ec7a8c47661f1f869ca27d541c41695d97b3634a59c226bdd
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 Bytes
Contents
<% # Optional props stock_info = local_assigns.fetch(:stock_info, true) %> <div class="item-info"> <h2 class="item-info__name"> <%= link_to line_item.name, product_path(variant.product) %> </h2> <p class="item-info__options"> <%= variant.options_text %> </p> <% if stock_info && line_item.insufficient_stock? %> <p class="item-info__stock"> <%= t('spree.out_of_stock') %> </p> <% end %> <p class="item-info__description"> <%= variant.product.description.nil? || variant.product.description.empty? ? t('spree.product_has_no_description') : truncated_product_description(variant.product) %> </p> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_starter_frontend-0.1.0 | app/views/spree/components/cart/_item_info.html.erb |