Sha256: 3ee52e6aee093e902a688217ad9adbd6ea6de3ef16bfdb945c0f8b609140663a

Contents?: true

Size: 842 Bytes

Versions: 9

Compression:

Stored size: 842 Bytes

Contents

<h1 class="taxon-title"><%= @taxon.name %></h1>

<% if params[:search].present? %>
  <%= render partial: 'spree/shared/trackers/segment/product_list_filtered.js',
              formats: :js,
              locals: { search: params[:search], products: @products } %>
<% end %>
<% content_for :sidebar do %>
  <div data-hook="taxon_sidebar_navigation">
    <%= render partial: 'spree/shared/taxonomies' %>
    <%= render partial: 'spree/shared/filters' if @taxon.leaf? %>
  </div>
<% end %>

<div data-hook="taxon_products">
  <%= render partial: 'spree/shared/products', locals: { products: @products, taxon: @taxon } %>
</div>

<% unless params[:keywords].present? %>
  <div data-hook="taxon_children">
    <% cache [I18n.locale, @taxon] do %>
      <%= render partial: 'taxon', collection: @taxon.children %>
    <% end %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_frontend-3.4.6 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.5 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.4 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.3 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.2 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.1 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.0 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.0.rc2 app/views/spree/taxons/show.html.erb
spree_frontend-3.4.0.rc1 app/views/spree/taxons/show.html.erb