This gem for easy administration of navigation menus and content or static pages from the admin section of Spree.
- Add this extension to your Gemfile with this line:
gem 'spree_static_pages', github: 'ltSites/spree_static_pages'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_static_pages:install
- Restart your server
If your server was running, restart it so that it can find the assets properly.
Insert it to your spree view
<%= itsites_pages_menu('hash_tag') %>
1 English
2 Russian
3 Ukrainian
Tested at Spree 3.6