Sha256: e5b22011138f1a766796755fa843bafa19bda8c04a30c534f1b73bcd0d47d0f6

Contents?: true

Size: 843 Bytes

Versions: 6

Compression:

Stored size: 843 Bytes

Contents

<% content_for :sidebar do %>
  <%= hook :homepage_sidebar_navigation do %>
    <% if "products" == @current_controller && @taxon %>
      <%= render "shared/filters" %>
    <% else %>
      <%= render "shared/taxonomies" %>
    <% end %>
  <% end %>
<% end %>


<% if params[:keywords] %>

  <%= hook :search_results do %>
    <% if @products.empty? %>
      <%= t(:no_products_found) %> 
    <% else %>
      <%= render "shared/products", :products => @products, :taxon => @taxon %>
    <% end %>
    <% end %>
<% else %>


  <%= hook :homepage_products do %>
    
    <div><h3>new sales</h3>
    <%= render "shared/new_release", :products => @new_sales, :taxon => @taxon %>
    </div>
    <div><h3>coming soon</h3>
    <%= render "shared/upcoming_products", :products => @coming_soon, :taxon => @taxon %>
    </div>

<% end %>


<% end %>

Version data entries

6 entries across 6 versions & 5 rubygems

Version Path
apispree_core-0.0.0 app/views/products/index.html.erb
My-Commerce_core-1.1.0 app/views/products/index.html.erb
My-Commerce_core-1.0.0 app/views/products/index.html.erb
MyCommerceapi-1.0.0 core/app/views/products/index.html.erb
MyCommerce-0.0.3 core/app/views/products/index.html.erb
rfcommerce_core-0.0.3 app/views/products/index.html.erb