Sha256: a811ff2925b0092f63dfef4f7c28d1acc281ef2b3975c74e17cf13a3148b7c2f

Contents?: true

Size: 802 Bytes

Versions: 13

Compression:

Stored size: 802 Bytes

Contents

<ul class="product-listing">
  <% column_count = 0 %>
  <% products.each do |product| %>
  <% column_count += 1
  column_count = 1 if column_count == 7
   %>
    <% if Spree::Config[:show_zero_stock_products] || product.has_stock? %>
      <li id="product_<%= product.id %>">
				<% if taxon.nil? %>
			  	  <%= link_to small_image(product), product %>
						<%= link_to product.name + "<span class='price selling'>#{product_price(product)}</span>", product, :class => 'info' %>
			  <% else %>
		     		<%= link_to small_image(product), seo_url(taxon, product) %>
						<%= link_to product.name + "<span class='price selling'>#{product_price(product)}</span>", seo_url(taxon, product), :class => 'info' %>
						
				<% end %>
        
      </li>
    <% end %>
  <% end %>
</ul>
<hr class="space" />

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/views/shared/_products.html.erb
spree-enriquez-0.9.4 app/views/shared/_products.html.erb
spree-0.9.4 app/views/shared/_products.html.erb
spree-0.9.3 app/views/shared/_products.html.erb
spree-0.9.2 app/views/shared/_products.html.erb
spree-0.9.1 app/views/shared/_products.html.erb
spree-0.9.0 app/views/shared/_products.html.erb
spree-0.8.4 app/views/shared/_products.html.erb
spree-0.8.5 app/views/shared/_products.html.erb
spree-0.8.0 app/views/shared/_products.html.erb
spree-0.8.1 app/views/shared/_products.html.erb
spree-0.8.2 app/views/shared/_products.html.erb
spree-0.8.3 app/views/shared/_products.html.erb