Solidus Taxon Group

Easily create and manage groups of taxons, irrespective of their parent or children taxons/taxonomies and control the position of taxons in their taxon groups. Useful if you need flexible taxon usage, for example a group of taxons for featured categories from different parent taxon/taxonomies.


Usage

“b <% navigation_taxon_group = Spree::TaxonGroup.find_by_key(‘navigation’) %> <% cache [I18n.locale, navigation_taxon_group] do %> <%= navigation_taxon_group.taxons.map do |taxon| ‘

  • ' + link_to(taxon.name, seo_url(taxon)) + '
  • ’ end.join(“\n”).html_safe %> <% end %>


    Basic Installation

    Add to your Gemfile:

    “by gem ‘solidus_taxon_group’

    Run:

    “ bundle && bundle exec rails g solidus_taxon_group:install

    That’s it!


    Contributing

    See corresponding guidelines and check out the issues.


    Copyright (c) 2016 James Whelton and contributors, released under the New BSD License