No commit activity in last 3 years
No release in over 3 years
Solidus extension to create and manage groups of taxons
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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

<% navigation_taxon_group = Spree::TaxonGroup.find_by_key('navigation') %>
<% cache [I18n.locale, navigation_taxon_group] do %>
  <%= navigation_taxon_group.taxons.map do |taxon|
        '<li>' + link_to(taxon.name, seo_url(taxon)) + '</li>'
      end.join("\n").html_safe
  %>
<% end %>

Basic Installation

Add to your Gemfile:

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