Sha256: 5c2f232316e2e8b0627918f77a8618575c4cae18a252b9beea724ebefafb31a3
Contents?: true
Size: 982 Bytes
Versions: 1
Compression:
Stored size: 982 Bytes
Contents
<% product = content.ingredient %> <% url = spree.product_url(product, taxon_id: @taxon.try(:id)) %> <div id="product_<%= product.id %>" class="col-md-3 col-sm-6 product-list-item" data-hook="products_list_item" itemscope itemtype="http://schema.org/Product"> <div class="panel panel-default"> <% cache(@taxon.present? ? [I18n.locale, current_currency, @taxon, product] : [I18n.locale, current_currency, product]) do %> <div class="panel-body text-center product-body"> <%= link_to small_image(product, itemprop: "image"), url, itemprop: 'url' %><br/> <%= link_to truncate(product.name, length: 50), url, class: 'info', itemprop: "name", title: product.name %> </div> <div class="panel-footer text-center"> <span itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <span class="price selling lead" itemprop="price"><%= display_price(product) %></span> </span> </div> <% end %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_spree-2.0.0.beta | app/views/alchemy/essences/_essence_spree_product_view.html.erb |